MSCEWI2022
Commented out code related with dropping work or error table.
This is a deprecated version of the SnowConvert documentation, please visit the official site HERE.
Severity
Low
Description
This warning is shown when a DROP statement from fastload and multiload files is removed. The statement is only removed if the tables that are being dropped are ERROR tables used in a BEGIN LOADING command.
Error tables are specified on fastload and multiload, but they are not needed in snowflake. Since they are created internally when used on these scripts, and not in Snowflake; the reference would not be resolved when dropping them.
Code Example
Input Code:
DROP TABLE FastTable;
DROP TABLE Error1;
DROP TABLE Error2;
CREATE TABLE FastTable, NO FALLBACK
( ID INTEGER, UFACTOR INTEGER, MISC CHAR(42))
PRIMARY INDEX(ID);
DEFINE ID (INTEGER), UFACTOR (INTEGER), MISC (CHAR(42))
FILE=FileName;
SHOW;
BEGIN LOADING FastTable ERRORFILES Error1,Error2
CHECKPOINT 10000;
INSERT INTO FastTable (ID, UFACTOR, MISC) VALUES
(:ID, :MISC);
END LOADING;Output Code:
Recommendations
Functional equivalence is not affected by removing
DROPstatements applied to error tables, is just an informative warning.If you need more support, you can email us at [email protected]
Last updated
