SSC-FDM-HV0001

Inserting values into an external table is not supported in Snowflake

Important Notice: Migration of Documentation Website

Please be advised that our documentation website is currently undergoing a migration to a new platform. To ensure you have access to the most up-to-date information, we kindly request that you visit our new documentation website located at:

Official Snowflake Snowconvert Documentation

For any immediate assistance or if you encounter any issues, please contact our support team at [email protected].

Thank you for your understanding.

Description

Creating an External Table using the Stored As clause is supported; however, it may behave differently since Hive Format tables support inserting values, while Snowflake External Tables do not support value insertions.

Code Example

Input

IN -> spark_03.sql
CREATE EXTERNAL TABLE IF NOT EXISTS External_table_hive_format
(
  order_id int,
  date string,
  client_name string,
  total float
)
stored as AVRO
LOCATION 'gs://sc_external_table_bucket/folder_with_avro/orders.avro';

Output

Recommendations

Last updated