SSC-FDM-TD0027
TD_UNPIVOT transformation requires column information that could not be found, columns missing in result
This FDM is deprecated, please refer to SSC-EWI-TD0061 documentation.
Description
SnowConvert supports and transforms the TD_UNPIVOT function, which can be used to represent columns from a table as rows.
However, this transformation requires information about the table/tables columns to work, more specifically the names of the columns. When this information is not present the transformation may be left in an incomplete state where columns are missing from the result, this EWI is generated in these cases.
Example code
Input Code:
Output Code:
Recommendations
There are two ways of supplying the information about columns to the conversion tool: put the table specification in the same file as the TD_UNPIVOT call or specify a column list in the SELECT query of the ON expression instead of SELECT * or the table name.
This issue can be safely ignored if ALL the columns from the input table/tables are unpivoted, otherwise, the result will have missing columns.
If you need more support, you can email us at snowconvert-support@snowflake.com
Last updated