Snowflake: support of views column comment (#1441)

This commit is contained in:
Aleksei Piianin 2024-10-07 22:20:23 +02:00 committed by GitHub
parent 8ccb87a835
commit 84348d483e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 56 additions and 17 deletions

View file

@ -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