SSC-FDM-BQ0007
Reading from spreadsheets is not supported in snowflake, use the CSV file type instead
Description
Snowflake does not support Google Sheets as a file format, however, its structure is similar to CSV files, which are supported by Snowflake.
When SnowConvert detects a external table using the GOOGLE_SHEETS format, it will produce a external table with the CSV file format instead.
This FDM is generated to notify the user that the transformation now expects a CSV file instead of Google Sheets.
Code Example
Input Code:
CREATE OR REPLACE EXTERNAL TABLE test.spreadsheetTable
(
Name STRING,
Code INTEGER,
Price INTEGER,
Expiration_date DATE
)
OPTIONS(
format="GOOGLE_SHEETS",
skip_leading_rows = 1,
uris=['https://docs.google.com/spreadsheets/d/someFileId/edit?usp=sharing']
);Output Code:
Recommendations
If you need more support, you can email us at [email protected]
Last updated
