SSC-FDM-BQ0003
Unable to generate correct return table clause due to missing dependent object information.
Description
Snowflake requires a valid RETURNS TABLE clause for CREATE TABLE FUNCTION statements.
SnowConvert may encounter scenarios where the original BigQuery source code does not have a RETURNS TABLE clause, and has to build a new one from the ground up. To do this, an analysis is made to the CREATE TABLE FUNCTION query in order to properly infer the types of the columns of the resulting table. When SnowConvert cannot gather the required information, this EWI is added.
Code Example
Input Code:
IN -> BigQuery_01.sql
Output Code:
OUT -> BigQuery_01.sql
Recommendations
Always try to include any dependent object definitions in the input code, so that SnowConvert has access to important information.
Last updated