This section shows information about the Script Files section of the Teradata Assessment Report.
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:
Indicates the Lines of Code conversion percentage per file extension.
Formula
Associated CSV Field names
BTEQ LOC Conversion Rate: BTEQLoCConversionRate
FastLoad LOC Conversion Rate: FastLoadLoCConversionRate
MultiLoad LOC Conversion Rate: MultiLoadLoCConversionRate
TPT LOC Conversion Rate: TPTLoCConversionRate
TPump LOC Conversion Rate: TPumpLoCConversionRate
Total File Quantity
Indicates the total amount of files of each type. It is used to calculate the Files Generated conversion rate.
Associated CSV Field names
BTEQ Total File Quantity: BTEQFileCount
FastLoad Total File Quantity: FastLoadFileCount
MultiLoad Total File Quantity: MultiLoadFileCount
TPT Total File Quantity: TPTFileCount
TPump Total File Quantity: TPumpFileCount
Sample
From the previous, we will get:
Number of BTEQ files: 1
Number of TPT files: 1
Total LOC
Indicates the total amount of lines of code per file extension. It is used to calculate the Lines of Code conversion..
Associated CSV Field names
BTEQ Total LOC: BTEQLinesCount
FastLoad Total LOC: FastLoadLinesCount
MultiLoad Total LOC: MultiLoadLinesCount
TPT Total LOC: TPTLinesCount
TPump Total LOC: TPumpLinesCount
Indicates the total amount of parsing errors per file extension.
Associated CSV Field names
BTEQ Total Parsing Errors: BTEQTotalParsingErrors
FastLoad Total Parsing Errors: FastLoadTotalParsingErrors
MultiLoad Total Parsing Errors: MultiLoadTotalParsingErrors
TPT Total Parsing Errors: TPTTotalParsingErrors
TPump Total Parsing Errors: TPumpTotalParsingErrors
Sample
Explanation: In the example below, there is a parsing error when creating the table due to the incorrect use of the square brackets ([]), lines 1 and 3. This will be shown in the report as 1 parsing error in the TPT files row.
#*** Generated code is based on the SnowConvert Python Helpers version 2.0.6 ***
import os
import sys
import snowconvert.helpers
from snowconvert.helpers import Export
from snowconvert.helpers import exec
from snowconvert.helpers import BeginLoading
con = None
def main():
snowconvert.helpers.configure_log()
con = snowconvert.helpers.log_on()
snowconvert.helpers.quit_application()
if __name__ == "__main__":
main()
#** SSC-EWI-0001 - UNRECOGNIZED TOKEN ON LINE '1' COLUMN '1' OF THE SOURCE CODE STARTING AT 'CREATE'. EXPECTED 'STATEMENT' GRAMMAR. LAST MATCHING TOKEN WAS 'CREATE' ON LINE '1' COLUMN '1'. CODE '81'. **
#--CREATE TABLE TABLE_INVALID [
#-- first_column INTEGER
#--]