SSC-FDM-0004

External table translated to regular table

Description

This warning is added to clauses related to external handling, this is because in Snowflake the data storage is not a concern and does not need external tables. Instead, all data should be managed inside the Snowflake data storage. For more information on this subject, you can consult here for snowflake considerations on data storage.

Code Example

Input Code:

IN -> BigQuery_01.sql
CREATE OR REPLACE EXTERNAL TABLE external_table_test1
(
  col1 INTEGER
)
OPTIONS (
  format = 'CSV',
  uris = ['gs://my_bucket/file.csv']
);

Output Code:

OUT -> BigQuery_01.sql
--** SSC-FDM-0004 - EXTERNAL TABLE TRANSLATED TO REGULAR TABLE **
CREATE OR REPLACE TABLE external_table_test1 (
   col1 INTEGER
 )
-- OPTIONS (
--   format = 'CSV',
--   uris = ['gs://my_bucket/file.csv']
-- )
  ;

Recommendations

  • The data stored in files of the external tables must be somehow moved into the Snowflake database.

  • If you need more support, you can email us at snowconvert-support@snowflake.com

Last updated