SnowConvert AI - File and Object Level Breakdown - SQL Identified Objects¶
Taxa de conversão - objeto¶
Nota
Um objeto é considerado migrado com sucesso se não tiver problemas de gravidade média, alta ou crítica.
Represents the percentage of identified objects by SnowConvert AI 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 AI did not contain objects of the specific type that could be identified.
Fórmula¶
(successfully_converted_objects / total_object_quantity) * 100
Nomes de campos associados CSV¶
Todos os idiomas
Tabelas: SqlTableObjectConversionRate
Exibições: SqlViewObjectConversionRate
Procedimentos: SqlProcedureObjectConversionRate
Funções: SqlFunctionObjectConversionRate
Acionadores: SqlTriggerObjectConversionRate
Índices: N/A
Teradata
Macros: SqlMacroObjectConversionRate
Índices de junção: SqlJoinIndexObjectConversionRate
Oracle
Pacotes: SqlPackageObjectConversionRate
Corpos de pacotes: SqlPBodyObjectConversionRate
Sequências: SqlSequenceObjectConversionRate
Sinônimos: SqlSynonymObjectConversionRate
Tipos: SqlTypeObjectConversionRate
DB Link: N/A
Exibições materializadas: SqlMaterializedObjectConversionRate
SQLServer
Exibições materializadas: SqlMaterializedObjectConversionRate
Exemplo¶
-- Table that is migrated successfully to Snowflake.
CREATE TABLE table1 (
col1 INTEGER
);
-- Table that is not migrated successfully to Snowflake because of the data type of col1.
CREATE TABLE table2 (
col1 ANYTYPE
);
Taxa de conversão de objeto esperada: 50%
Explicação: Com o código de exemplo anterior, teremos uma taxa de conversão de objetos de 50% porque apenas uma das duas tabelas identificadas foi migrada com sucesso para o Snowflake.
Taxa de conversão - Código¶
Represents the percentage of lines or characters of code of the top-level object that were successfully migrated. You can read more about the different conversion rate modes and how they are calculated by SnowConvert AI here.
Nomes de campos associados CSV¶
Nota
Cada objeto de nível superior terá dois campos para a taxa de conversão de código no relatório Assessment.csv
. Um será para a taxa de conversão usando linhas de código e o outro usando os caracteres.
Todas as linguagens:
Tabelas
Linhas de código: SqlTableLoCConversionRate
Caracteres: SqlTableCharacterConversionRate
Exibições
Linhas de código: SqlViewLoCConversionRate
Caracteres: SqlViewCharacterConversionRate
Procedimentos
Linhas de código: SqlProcedureLoCConversionRate
Caracteres: SqlProcedureCharacterConversionRate
Funções
Linhas de código: SqlFunctionLoCConversionRate
Caracteres: SqlFunctionCharacterConversionRate
Índices
Linhas de código: N/A
Caracteres: N/A
Acionadores
Linhas de código: SqlTriggerLoCConversionRate
Teradata
Macros
Linhas de código: SqlMacroLoCConversionRate
Caracteres: SqlMacroCharacterConversionRate
Índices de junção
Linhas de código: SqlJoinIndexLoCConversionRate
Caracteres: SqlJoinIndexCharacterConversionRate
Oracle
Exibições materializadas
Linhas de código: SqlMaterializedViewLoCConversionRate
Caracteres: SqlMaterializedViewCharacterConversionRate
Pacotes
Linhas de código: SqlPackageLoCConversionRate
Caracteres: SqlPackageCharacterConversionRate
Corpos de pacotes
Linhas de código: SqlPBodyLoCConversionRate
Caracteres: SqlPBodyCharacterConversionRate
Sequências
Linhas de código: SqlSequenceLoCConversionRate
Caracteres: SqlSequenceCharacterConversionRate
Sinônimos
Linhas de código: SqlSynonymLoCConversionRate
Caracteres: SqlSynonymCharacterConversionRate
Tipos
Linhas de código: SqlTypeLoCConversionRate
Caracteres: SqlTypeCharacterConversionRate
SQLServer
Exibições materializadas
Linhas de código: SqlMaterializedViewLoCConversionRate
Caracteres: SqlMaterializedViewCharacterConversionRate
Exemplo¶
CREATE TABLE table1 (
col1 INTEGER
);
CREATE TABLE table2 (
col1 ANYTYPE
);
Taxa de conversão de código esperada: 83,33%
Explanation: In the previous sample code, there are two CREATE TABLE
statements and SnowConvert AI is executed using lines of code to calculate the code conversion rate. table1
was successfully migrated but table2
was not migrated completely, in this case, line 5 of the input code could not be migrated and only 5 of the 6 total lines of code were migrated successfully. This calculation will generate a conversion rate for tables of 83.33%.
Linhas de código¶
Representa a quantidade total de linhas de código usadas para os objetos de nível superior identificados. É importante levar em conta que as linhas de código do objeto de nível superior, bem como os comentários, são usados para essa coluna. Por outro lado, as linhas vazias não serão contadas nessa coluna.
Nomes de campos associados CSV¶
Todos os idiomas
Tabelas: SqlTableTotalLinesOfCode
Exibições: SqlViewTotalLinesOfCode
Procedimentos: SqlProcedureTotalLinesOfCode
Funções: SqlFunctionTotalLinesOfCode
Índices: SqlIndexTotalLinesOfCode
Acionadores: SqlTriggerTotalLinesOfCode
Teradata
Macros: SqlMacroTotalLinesOfCode
Índices de junção: SqlJoinIndexTotalLinesOfCode
Oracle
Pacotes: SqlPackageTotalLinesOfCode
Corpos de pacotes: SqlPBodyTotalLinesOfCode
Sequências: SqlSequenceTotalLinesOfCode
Sinônimos: SqlSynonymTotalLinesOfCode
Tipos: SqlTypeTotalLinesOfCode
DB Link: SqlDbLinkTotalLinesOfCode
Exibições materializadas: SqlMaterializedViewTotalLinesOfCode
SQLServer
Exibições materializadas: SqlMaterializedViewTotalLinesOfCode
Exemplo¶
-- Hello World
CREATE TABLE table1 (
col1 INTEGER
);
CREATE TABLE table2 (
-- Hello world 2
col1 ANYTYPE
);
Linhas de código esperadas: 8
Explicação: Nesse caso, temos 6 linhas que vêm do código usado para as instruções CREATE TABLE
e 2 para comentários que estão dentro dos objetos de nível superior.
Quantidade total de objetos¶
Represents the total amount of objects identified by SnowConvert AI during the parsing phase.
Nomes de campos associados CSV¶
Todos os idiomas
Tabelas: SqlTableTotalOccurrences
Exibições: SqlViewTotalOccurrences
Procedimentos: SqlProcedureTotalOccurrences
Funções: SqlFunctionTotalOccurrences
Índices: SqlIndexTotalOccurrences
Acionadores: SqlTriggerTotalOccurrences
Teradata
Macros: SqlMacroTotalOccurrences
Índices de junção: SqlJoinIndexTotalOccurrences
Oracle
Pacotes: SqlPackageTotalOccurrences
Corpos de pacotes: SqlPBodyTotalOccurrences
Sequências: SqlSequenceTotalOccurrences
Sinônimos: SqlSynonymTotalOccurrences
Tipos: SqlTypeTotalOccurrences
DB Link: SqlDbLinkTotalOccurrences
Exibições materializadas: SqlMaterializedViewTotalOccurrences
SQLServer
Exibições materializadas: SqlMaterializedViewTotalOccurrences
Exemplo¶
-- Successfully parsed table.
CREATE TABLE table1 (
col1 INTEGER
);
-- Table with a parsing error that could not be identified.
CRATE TABLE table2 (
col1 INTEGER
);
Quantidade total esperada de objetos: 1.
Explanation: One table was completely parsed by SnowConvert AI during the parsing phase but the other table has a parsing error that causes SnowConvert AI to not identify it as a table object.
Erros de análise¶
Representa o número de erros de análise que estão dentro dos objetos identificados de cada tipo de objeto de nível superior.
Nomes de campos associados CSV¶
Todos os idiomas
Tabelas: SqlTableTotalParsingErrors
Exibições: SqlViewTotalParsingErrors
Exibições materializadas: SqlMaterializedViewTotalParsingErrors
Procedimentos: SqlProcedureTotalParsingErrors
Funções: SqlFunctionParsingErrors
Acionadores: SqlTriggerTotalParsingErrors
Índices: SqlIndexTotalParsingErrors
Teradata
Macros: SqlMacroTotalParsingErrors
Índices de junção: SqlJoinIndexTotalParsingErrors
Oracle
Pacotes: SqlPackageTotalParsingErrors
Corpos de pacotes: SqlPBodyTotalParsingErrors
Sequências: SqlSequenceTotalParsingErrors
Sinônimos: SqlSynonymTotalParsingErrors
Tipos: SqlTypeTotalParsingErrors
DB Link: SqlDbLinkTotalParsingErrors
Exibições materializadas: SqlMaterializedViewTotalParsingErrors
SQLServer
Exibições materializadas: SqlMaterializedViewTotalParsingErrors
Exemplo¶
-- Table with parsing error but still was identified by SnowConvert.
CREATE TABLE table1 (
col3 NUMBER,
);
-- Table with parsing error but was not identified by SnowConvert.
CRATE TABLE table2 (
col1 INTEGER
);
Erros de análise esperados: 1
Explanation: Only one parsing error will be reported in the Parsing Errors column because SnowConvert AI 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.