SnowConvert: 問題レポート

「問題」とは

問題は、 SnowConvert によって行われた変換に関する関連情報を提供するメッセージです。

存在する場所

問題レポートは、変換の出力フォルダー内の 「Reports」 というフォルダーにあります。ファイル名は 「Issues」 で始まるため、簡単に見つけることができます。

ファイルの形式は .CSV です。

コンテナーに含まれる情報

問題レポートには、変換中に追加されたすべての問題に関する以下の情報が含まれます。

ColumnDescription
Session IDThe session ID of the transformation. This is a unique identifier for the transformation session.
SeverityOne of the following values: Critical, High, Medium, Low, or None. This is an indicator of how much effort it takes to manually solve the problem. The None severity does not punish the conversion rate of the code unit.
CodeA unique identifier for the issue.
NameThe name of the issue message.
DescriptionThe final message that was added to the output code. Something important to take into account is that some of the issues might have slightly different descriptions even though they have the same issue code, this happens because some of the descriptions have dynamic values.
Parent FileThe relative path of the file where the issues is generated.
LineThe text line within the parent file where the issue is generated.
ColumnThe column within the line where the issue is generated.
Code Unit DatabaseThe database name (if applicable) of the code unit that contains the issue message. It might be empty because the generated issue has no explicit database name or it is not generated inside a code unit with a name that identifies it.
Code Unit SchemaThe schema name (if applicable) of the code unit that contains the issue message. It might be empty because the generated issue has no explicit schema name or it is not generated inside a code unit with a name that identifies it.
Code Unit PackageThe package name (if applicable) of the code unit that contains the issue message. It might be empty because the generated issue has no explicit schema name or it is not generated inside a code unit with a name that identifies it. This column only applies to Oracle SQL migrations.
Code Unit NameThe name of the code unit, without database and or schema qualification. This column only applies to code units that have a name that identifies them.
Code Unit IDA string that uniquely identifies the code unit. The name of the object, without database and or schema qualification.
Code UnitThe code unit that contains the issue.
Code Unit SizeA size classification of the code unit, based on its line of code. The available measurements are XS, S, M, L, and XL.

レポート例

次のOracle SQL 入力コードが与えられた場合、 SnowConvert は SSC-FDM-OR0035 の変換問題を追加します。

CREATE OR REPLACE PROCEDURE schema1.procedure1
AS
BEGIN
  DBMS_OUTPUT.PUT_LINE('hello world');
END;
Copy
CREATE OR REPLACE PROCEDURE schema1.procedure1 ()
RETURNS VARCHAR
LANGUAGE SQL
COMMENT = '{"origin":"sf_sc","name":"snowconvert","version":{"major":1, "minor":0},{"attributes":{"component":"oracle"}}'
EXECUTE AS CALLER
AS
$$
  BEGIN
    --** SSC-FDM-OR0035 - CHECK UDF IMPLEMENTATION FOR DBMS_OUTPUT.PUT_LINE_UDF. **
    CALL DBMS_OUTPUT.PUT_LINE_UDF('hello world');
  END;
$$;
Copy

SSC-FDM-OR0035 変換の問題レポートの行には、以下の情報が記載されます。

セッション ID

利用できません

重大性

コード

SSC-FDM-OR0035

名前

挿入されたカスタム UDF

説明

CUSTOM UDF 'DBMS_OUTPUT.PUT_LINE_UDF' INSERTED。

親ファイル

sample.sql

4

3

コードユニットデータベース

N/A

コードユニットスキーマ

schema1

コードユニットパッケージ

N/A

コードユニット名

procedure1

コードユニットID

schema1.procedure1

コードユニット

CREATE PROCEDURE

コードユニットサイズ

XS