SnowConvert AI - File and Object Level Breakdown - SQL Identified Objects¶
変換率 - オブジェクト¶
注釈
オブジェクトは、重大度が「中」、「高」、「重大」の問題がなければ、正常に移行されたとみなされます。
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.
式¶
(successfully_converted_objects / total_object_quantity) * 100
CSV 関連フィールド名¶
すべての言語
テーブル: SqlTableObjectConversionRate
ビュー: SqlViewObjectConversionRate
プロシージャ: SqlProcedureObjectConversionRate
関数: SqlFunctionObjectConversionRate
トリガー: SqlTriggerObjectConversionRate
インデックス: N/A
Teradata
マクロ: SqlMacroObjectConversionRate
結合インデックス: SqlJoinIndexObjectConversionRate
Oracle
パッケージ: SqlPackageObjectConversionRate
パッケージ本文: SqlPBodyObjectConversionRate
シーケンス: SqlSequenceObjectConversionRate
同義語: SqlSynonymObjectConversionRate
タイプ: SqlTypeObjectConversionRate
DB リンク: N/A
マテリアライズドビュー: SqlMaterializedObjectConversionRate
SQLServer
マテリアライズドビュー: SqlMaterializedObjectConversionRate
サンプル¶
-- 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
);
予想されるオブジェクト変換率: 50%
説明: 前のサンプルコードでは、2つの識別テーブルのうち1つだけがSnowflakeへの移行に成功したため、オブジェクト変換率は50%となります。
変換率 - コード¶
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.
CSV 関連フィールド名¶
注釈
各トップレベルオブジェクトは、 Assessment.csv
レポートのコード変換率の2つのフィールドを持ちます。ひとつはコード行数による換算率、もうひとつは文字による換算率です。
すべての言語:
テーブル
コード行数: SqlTableLoCConversionRate
文字: SqlTableCharacterConversionRate
ビュー
コード行数: SqlViewLoCConversionRate
文字: SqlViewCharacterConversionRate
プロシージャ
コード行数: SqlProcedureLoCConversionRate
文字: SqlProcedureCharacterConversionRate
関数
コード行数: SqlFunctionLoCConversionRate
文字: SqlFunctionCharacterConversionRate
インデックス
コード行数: N/A
文字: N/A
トリガー
コード行数: SqlTriggerLoCConversionRate
Teradata
マクロ
コード行数: SqlMacroLoCConversionRate
文字: SqlMacroCharacterConversionRate
結合インデックス
コード行数: SqlJoinIndexLoCConversionRate
文字: SqlJoinIndexCharacterConversionRate
Oracle
マテリアライズドビュー
コード行数: SqlMaterializedViewLoCConversionRate
文字: SqlMaterializedViewCharacterConversionRate
パッケージ
コード行数: SqlPackageLoCConversionRate
文字: SqlPackageCharacterConversionRate
パッケージ本文
コード行数: SqlPBodyLoCConversionRate
文字: SqlPBodyCharacterConversionRate
シーケンス
コード行数: SqlSequenceLoCConversionRate
文字: SqlSequenceCharacterConversionRate
同義語
コード行数: SqlSynonymLoCConversionRate
文字: SqlSynonymCharacterConversionRate
タイプ
コード行数: SqlTypeLoCConversionRate
文字: SqlTypeCharacterConversionRate
SQLServer
マテリアライズドビュー
コード行数: SqlMaterializedViewLoCConversionRate
文字: SqlMaterializedViewCharacterConversionRate
サンプル¶
CREATE TABLE table1 (
col1 INTEGER
);
CREATE TABLE table2 (
col1 ANYTYPE
);
予想されるコード変換率: 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%.
コード行数¶
識別されたトップレベルオブジェクトに使用されたコード行数の合計を表します。この列では、コメントだけでなく、トップレベルオブジェクトのコード行も使用されることを考慮することが重要です。一方、空の行はこの列にはカウントされません。
CSV 関連フィールド名¶
すべての言語
テーブル: SqlTableTotalLinesOfCode
ビュー: SqlViewTotalLinesOfCode
プロシージャ: SqlProcedureTotalLinesOfCode
関数: SqlFunctionTotalLinesOfCode
インデックス: SqlIndexTotalLinesOfCode
トリガー: SqlTriggerTotalLinesOfCode
Teradata
マクロ: SqlMacroTotalLinesOfCode
結合インデックス: SqlJoinIndexTotalLinesOfCode
Oracle
パッケージ: SqlPackageTotalLinesOfCode
パッケージ本文: SqlPBodyTotalLinesOfCode
シーケンス: SqlSequenceTotalLinesOfCode
同義語: SqlSynonymTotalLinesOfCode
タイプ: SqlTypeTotalLinesOfCode
DB リンク: SqlDbLinkTotalLinesOfCode
マテリアライズドビュー: SqlMaterializedViewTotalLinesOfCode
SQLServer
マテリアライズドビュー: SqlMaterializedViewTotalLinesOfCode
サンプル¶
-- Hello World
CREATE TABLE table1 (
col1 INTEGER
);
CREATE TABLE table2 (
-- Hello world 2
col1 ANYTYPE
);
予想されるコード行数: 8
説明: このケースでは、 CREATE TABLE
ステートメントに使用されるコードに由来する6行と、トップレベルオブジェクトの内部にあるコメントに由来する2行があります。
オブジェクト合計数¶
Represents the total amount of objects identified by SnowConvert AI during the parsing phase.
CSV 関連フィールド名¶
すべての言語
テーブル: SqlTableTotalOccurrences
ビュー: SqlViewTotalOccurrences
プロシージャ: SqlProcedureTotalOccurrences
関数: SqlFunctionTotalOccurrences
インデックス: SqlIndexTotalOccurrences
トリガー: SqlTriggerTotalOccurrences
Teradata
マクロ: SqlMacroTotalOccurrences
結合インデックス: SqlJoinIndexTotalOccurrences
Oracle
パッケージ: SqlPackageTotalOccurrences
パッケージ本文: SqlPBodyTotalOccurrences
シーケンス: SqlSequenceTotalOccurrences
同義語: SqlSynonymTotalOccurrences
タイプ: SqlTypeTotalOccurrences
DB リンク: SqlDbLinkTotalOccurrences
マテリアライズドビュー: SqlMaterializedViewTotalOccurrences
SQLServer
マテリアライズドビュー: SqlMaterializedViewTotalOccurrences
サンプル¶
-- Successfully parsed table.
CREATE TABLE table1 (
col1 INTEGER
);
-- Table with a parsing error that could not be identified.
CRATE TABLE table2 (
col1 INTEGER
);
予想されるオブジェクト合計数: 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.
解析エラー数¶
各トップレベルオブジェクト型の識別されたオブジェクトの内部にある解析エラーの数を表します。
CSV 関連フィールド名¶
すべての言語
テーブル: SqlTableTotalParsingErrors
ビュー: SqlViewTotalParsingErrors
マテリアライズドビュー: SqlMaterializedViewTotalParsingErrors
プロシージャ: SqlProcedureTotalParsingErrors
関数: SqlFunctionParsingErrors
トリガー: SqlTriggerTotalParsingErrors
インデックス: SqlIndexTotalParsingErrors
Teradata
マクロ: SqlMacroTotalParsingErrors
結合インデックス: SqlJoinIndexTotalParsingErrors
Oracle
パッケージ: SqlPackageTotalParsingErrors
パッケージ本文: SqlPBodyTotalParsingErrors
シーケンス: SqlSequenceTotalParsingErrors
同義語: SqlSynonymTotalParsingErrors
タイプ: SqlTypeTotalParsingErrors
DB リンク: SqlDbLinkTotalParsingErrors
マテリアライズドビュー: SqlMaterializedViewTotalParsingErrors
SQLServer
マテリアライズドビュー: SqlMaterializedViewTotalParsingErrors
サンプル¶
-- 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
);
予想される解析エラー数: 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.