mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-08-04 14:28:22 +00:00
Snowflake: support of views column comment (#1441)
This commit is contained in:
parent
8ccb87a835
commit
84348d483e
5 changed files with 56 additions and 17 deletions
|
@ -272,10 +272,10 @@ fn parse_create_view_with_options() {
|
|||
ViewColumnDef {
|
||||
name: Ident::new("age"),
|
||||
data_type: None,
|
||||
options: Some(vec![SqlOption::KeyValue {
|
||||
options: Some(vec![ColumnOption::Options(vec![SqlOption::KeyValue {
|
||||
key: Ident::new("description"),
|
||||
value: Expr::Value(Value::DoubleQuotedString("field age".to_string())),
|
||||
}])
|
||||
}])]),
|
||||
},
|
||||
],
|
||||
columns
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue