diff --git a/sample_sources/snowflake.yml b/sample_sources/snowflake.yml index 59ecde2..e0ee7ed 100644 --- a/sample_sources/snowflake.yml +++ b/sample_sources/snowflake.yml @@ -86,6 +86,23 @@ sources: - name: name description: and this is a name + - name: parquet_with_inferred_schema_and_mixed_column_case + description: "External table using Parquet and inferring the schema with mixed column case" + external: + location: "@stage" # reference an existing external stage + file_format: "my_file_format" # we need a named file format for infer to work + infer_schema: true # parameter to tell Snowflake we want to infer the table schema + ignore_case: true # parameter to tell Snowflake we want to ignore column case differences + partitions: + - name: section # we can define partitions on top of the schema columns + data_type: varchar(64) + expression: "substr(split_part(metadata$filename, 'section=', 2), 1, 1)" + columns: # columns can still be listed for documentation/testing purpose + - name: id + description: this is an id + - name: name + description: and this is a name + - name: aws_sns_refresh_tbl description: "External table using AWS SNS for auto-refresh" external: