mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-09-05 13:40:31 +00:00
Support redshift's columns definition list for system information functions (#769)
* parsing of redshift's column definition list for pg_get_late_binding_view_cols pg_get_cols pg_get_grantee_by_iam_role pg_get_iam_role_by_user * Renamed ColsDefinition to TableAliasDefinition added generic dialect * Tests fixed * Visitor for IdentPair * Parsing redshift table alias based on indentifier and parentheses instead of function name * fix clippy --------- Co-authored-by: Maciej Skrzypkowski <maciej.skrzypkowski@satoricyber.com> Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
This commit is contained in:
parent
a2fea10f89
commit
c35dcc93a7
14 changed files with 194 additions and 0 deletions
|
@ -870,6 +870,7 @@ fn parse_update_with_joins() {
|
|||
columns: vec![]
|
||||
}),
|
||||
args: None,
|
||||
columns_definition: None,
|
||||
with_hints: vec![],
|
||||
},
|
||||
joins: vec![Join {
|
||||
|
@ -880,6 +881,7 @@ fn parse_update_with_joins() {
|
|||
columns: vec![]
|
||||
}),
|
||||
args: None,
|
||||
columns_definition: None,
|
||||
with_hints: vec![],
|
||||
},
|
||||
join_operator: JoinOperator::Inner(JoinConstraint::On(Expr::BinaryOp {
|
||||
|
@ -1001,6 +1003,7 @@ fn parse_substring_in_select() {
|
|||
}]),
|
||||
alias: None,
|
||||
args: None,
|
||||
columns_definition: None,
|
||||
with_hints: vec![]
|
||||
},
|
||||
joins: vec![]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue