Skip to content

Snowflake File Format not supported. #2070

@br-lewis

Description

@br-lewis

The Snowflake dialect doesn't support DDL commands for File Format.

Running

Parser::parse_sql(&SnowflakeDialect {}, "CREATE FILE FORMAT my_file_format").unwrap();

Results in

thread 'main' panicked at src/main.rs:7:48:
called `Result::unwrap()` on an `Err` value: ParserError("Expected: an object type after CREATE, found: FILE at Line: 1, Column: 8")

I could try adding it myself but I wanted to check first since there's already a FileFormat in the ast module. It looks to be meant for something else in the other dialects so should I expand that or implement a snowflake specific one?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions