This page of the documentation is for Teradata only.
The breakdown of all the database objects created or modified in all script files (BTEQ, BTQ, FL, ML, TPUMP, TPT).
Conversion Rate - Object
An object is considered successfully migrated if it does not have issues with medium, high, or critical severity.
Represents the percentage of identified objects by SnowConvert that were successfully migrated. This will help to determine the number of objects that were successfully migrated and the objects that need manual work in order to complete the migration of the objects to Snowflake. If N/A is listed in the column, it means that the object type is not supported in Snowflake. A "-" could also be listed in this column, this means that the set of files migrated by SnowConvert did not contain objects of the specific type that could be identified.
#*** Generated code is based on the SnowConvert Python Helpers version 2.0.6 ***import osimport sysimport snowconvert.helpersfrom snowconvert.helpers import Exportfrom snowconvert.helpers importexecfrom snowconvert.helpers import BeginLoadingcon =Nonedefmain(): snowconvert.helpers.configure_log() con = snowconvert.helpers.log_on()exec(""" --** SSC-FDM-TD0024 - SET TABLE FUNCTIONALITY NOT SUPPORTED. TABLE MIGHT HAVE DUPLICATE ROWS ** CREATE OR REPLACE TABLE Tables_Database.Employee ( Associate_Id INTEGER, UNIQUE (Associate_Id) ) """) #** SSC-EWI-0001 - UNRECOGNIZED TOKEN ON LINE '5' COLUMN '1' OF THE SOURCE CODE STARTING AT 'CRATE'. EXPECTED 'STATEMENT' GRAMMAR. LAST MATCHING TOKEN WAS 'CRATE' ON LINE '5' COLUMN '1'. CODE '81'. **
##--CRATE SET TABLE Tables_Database.Employee2#-- (Associate_Id INTEGER)#--UNIQUE PRIMARY INDEX (Associate_Id) snowconvert.helpers.quit_application()if__name__=="__main__":main()
Expected Object Conversion Rate: 50%
Explanation: With the previous sample code we will have a 50% Object Conversion Rate because only 1 of the 2 identified tables were successfully migrated to Snowflake.
Conversion Rate - Lines of Code (LOC)
Indicates the Lines of Code conversion percentage per file extension.
#*** Generated code is based on the SnowConvert Python Helpers version 2.0.6 ***import osimport sysimport snowconvert.helpersfrom snowconvert.helpers import Exportfrom snowconvert.helpers importexecfrom snowconvert.helpers import BeginLoadingcon =Nonedefmain(): snowconvert.helpers.configure_log() con = snowconvert.helpers.log_on()exec(""" --** SSC-FDM-TD0024 - SET TABLE FUNCTIONALITY NOT SUPPORTED. TABLE MIGHT HAVE DUPLICATE ROWS ** CREATE OR REPLACE TABLE Tables_Database.Employee ( Associate_Id INTEGER, UNIQUE (Associate_Id) ) """)exec(""" --** SSC-FDM-TD0024 - SET TABLE FUNCTIONALITY NOT SUPPORTED. TABLE MIGHT HAVE DUPLICATE ROWS ** CREATE OR REPLACE TABLE Tables_Database.Employee2 (-- ** SSC-EWI-0001 - UNRECOGNIZED TOKEN ON LINE '6' COLUMN '5' OF THE SOURCE CODE STARTING AT 'Associate_Id'. EXPECTED 'Column Definition' GRAMMAR. LAST MATCHING TOKEN WAS 'ANYTYPE' ON LINE '6' COLUMN '22'. CODE '15'. **
-- Associate_Id ANYTYPE!, UNIQUE (Associate_Id) ) """) snowconvert.helpers.quit_application()if__name__=="__main__":main()
Expected LOC Conversion Rate: 83.33%
Explanation: With the previous sample code we will have a 83.33% LOC Conversion Rate because line 5 of the input code (Associate_Id ANYTYPE!) could not be migrated and only 5 of the 6 total lines of code were migrated successfully.
You can refer to further information about this topic in the Conversion Rate Modes section of our documentation.
Total Object Quantity
Represents the total amount of objects identified by SnowConvert during the parsing phase.
CSV Associated Field Names
Tables: ScriptTableTotalOccurrences
Views: ScriptViewTotalOccurrences
Join Index: ScriptJoinIndexTotalOccurrences
Macros: ScriptMacroTotalOccurrences
Procedures: ScriptProcedureTotalOccurrences
Functions: ScriptFunctionTotalOccurrences
Triggers: ScriptTriggerTotalOccurrences
Indexes: ScriptIndexTotalOccurrences
Sample
IN -> Teradata_03.bteq
-- Successfully parsed table.CREATESETTABLE Tables_Database.Employee (Associate_Id INTEGER)UNIQUEPRIMARYINDEX (Associate_Id);-- Table with a parsing error that could not be identified.CRATE SETTABLE Tables_Database.Employee2 (Associate_Id INTEGER)UNIQUEPRIMARYINDEX (Associate_Id);
OUT -> Teradata_03.py
#*** Generated code is based on the SnowConvert Python Helpers version 2.0.6 ***import osimport sysimport snowconvert.helpersfrom snowconvert.helpers import Exportfrom snowconvert.helpers importexecfrom snowconvert.helpers import BeginLoadingcon =Nonedefmain(): snowconvert.helpers.configure_log() con = snowconvert.helpers.log_on()# Successfully parsed table.exec(""" --** SSC-FDM-TD0024 - SET TABLE FUNCTIONALITY NOT SUPPORTED. TABLE MIGHT HAVE DUPLICATE ROWS ** CREATE OR REPLACE TABLE Tables_Database.Employee ( Associate_Id INTEGER, UNIQUE (Associate_Id) ) """) #** SSC-EWI-0001 - UNRECOGNIZED TOKEN ON LINE '7' COLUMN '1' OF THE SOURCE CODE STARTING AT 'CRATE'. EXPECTED 'STATEMENT' GRAMMAR. LAST MATCHING TOKEN WAS 'CRATE' ON LINE '7' COLUMN '1'. CODE '81'. **
##---- Table with a parsing error that could not be identified.#--CRATE SET TABLE Tables_Database.Employee2#-- (Associate_Id INTEGER)#--UNIQUE PRIMARY INDEX (Associate_Id) snowconvert.helpers.quit_application()if__name__=="__main__":main()
Expected Total Object Quantity: 1.
Explanation: One table was completely parsed by SnowConvert during the parsing phase but the other table has a parsing error that causes SnowConvert to not identify it as a table object.
Lines of Code
Represents the total amount of line of code used for the identified top-level objects. It is important to take into account that the lines of code of the top-level object, as well as the comments, are used for this column. On the other hand, empty lines will not be counted in this column.
#*** Generated code is based on the SnowConvert Python Helpers version 2.0.6 ***import osimport sysimport snowconvert.helpersfrom snowconvert.helpers import Exportfrom snowconvert.helpers importexecfrom snowconvert.helpers import BeginLoadingcon =Nonedefmain(): snowconvert.helpers.configure_log() con = snowconvert.helpers.log_on()# Hello Worldexec(""" --** SSC-FDM-TD0024 - SET TABLE FUNCTIONALITY NOT SUPPORTED. TABLE MIGHT HAVE DUPLICATE ROWS ** CREATE OR REPLACE TABLE Tables_Database.Employee ( Associate_Id INTEGER, UNIQUE (Associate_Id) ) """)# hello worldexec(""" --** SSC-FDM-TD0024 - SET TABLE FUNCTIONALITY NOT SUPPORTED. TABLE MIGHT HAVE DUPLICATE ROWS ** CREATE OR REPLACE TABLE Tables_Database.Employee2 (-- ** SSC-EWI-0001 - UNRECOGNIZED TOKEN ON LINE '8' COLUMN '4' OF THE SOURCE CODE STARTING AT 'Associate_Id'. EXPECTED 'Column Definition' GRAMMAR. LAST MATCHING TOKEN WAS 'ANYTYPE' ON LINE '8' COLUMN '21'. CODE '15'. **
-- Associate_Id ANYTYPE!, UNIQUE (Associate_Id) ) """) snowconvert.helpers.quit_application()if__name__=="__main__":main()
Expected Lines of Code: 8
Explanation: In this case, we have 6 lines that come from the code used for the CREATE TABLE statements and 2 for comments that are inside of the top-level objects.
Parsing Errors
Represents the number of parsing errors that are inside of the identified objects.
CSV Associated Field Names
Tables: ScriptTableTotalParsingErrors
Views: ScriptViewTotalParsingErrors
Join Index: ScriptJoinIndexTotalParsingErrors
Macros: ScriptMacroTotalLinesOfCode
Procedures: ScriptProcedureTotalParsingErrors
Functions: ScriptFunctionTotalParsingErrors
Triggers: ScriptTriggerTotalParsingErrors
Indexes: ScriptIndexTotalParsingErrors
Sample
IN -> Teradata_05.bteq
-- Successfully parsed table.CREATESETTABLE Tables_Database.Employee (Associate_Id INTEGER)UNIQUEPRIMARYINDEX (Associate_Id);-- Table with a parsing error that could not be identified.CRATE SETTABLE Tables_Database.Employee2 (Associate_Id INTEGER)UNIQUEPRIMARYINDEX (Associate_Id);
OUT -> Teradata_05.py
#*** Generated code is based on the SnowConvert Python Helpers version 2.0.6 ***import osimport sysimport snowconvert.helpersfrom snowconvert.helpers import Exportfrom snowconvert.helpers importexecfrom snowconvert.helpers import BeginLoadingcon =Nonedefmain(): snowconvert.helpers.configure_log() con = snowconvert.helpers.log_on()# Successfully parsed table.exec(""" --** SSC-FDM-TD0024 - SET TABLE FUNCTIONALITY NOT SUPPORTED. TABLE MIGHT HAVE DUPLICATE ROWS ** CREATE OR REPLACE TABLE Tables_Database.Employee ( Associate_Id INTEGER, UNIQUE (Associate_Id) ) """) #** SSC-EWI-0001 - UNRECOGNIZED TOKEN ON LINE '7' COLUMN '1' OF THE SOURCE CODE STARTING AT 'CRATE'. EXPECTED 'STATEMENT' GRAMMAR. LAST MATCHING TOKEN WAS 'CRATE' ON LINE '7' COLUMN '1'. CODE '81'. **
##---- Table with a parsing error that could not be identified.#--CRATE SET TABLE Tables_Database.Employee2#-- (Associate_Id INTEGER)#--UNIQUE PRIMARY INDEX (Associate_Id) snowconvert.helpers.quit_application()if__name__=="__main__":main()
Expected Parsing Errors: 1
Explanation: Only one parsing error will be reported in the Parsing Errors column because SnowConvert was able to only identify the first table. Since the second table was not identified, those parsing errors will not be counted in the Parsing Errors column.