mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-08-21 22:44:08 +00:00
Add support for view comments for Snowflake (#1287)
Co-authored-by: Joey Hain <joey@sigmacomputing.com>
This commit is contained in:
parent
c2d84f5683
commit
029a999645
6 changed files with 94 additions and 1 deletions
|
@ -167,6 +167,7 @@ fn parse_create_view_temporary_if_not_exists() {
|
|||
materialized,
|
||||
options,
|
||||
cluster_by,
|
||||
comment,
|
||||
with_no_schema_binding: late_binding,
|
||||
if_not_exists,
|
||||
temporary,
|
||||
|
@ -178,6 +179,7 @@ fn parse_create_view_temporary_if_not_exists() {
|
|||
assert!(!or_replace);
|
||||
assert_eq!(options, CreateTableOptions::None);
|
||||
assert_eq!(cluster_by, vec![]);
|
||||
assert!(comment.is_none());
|
||||
assert!(!late_binding);
|
||||
assert!(if_not_exists);
|
||||
assert!(temporary);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue