SnowConvert: 문제 보고서¶
“문제”란 무엇인가요?¶
문제는 SnowConvert 에서 수행한 변환에 대한 관련 정보를 제공하는 메시지입니다.
어디서 찾을 수 있나요?¶
문제 보고서는 변환의 출력 폴더에 있는 _”Reports”_라는 폴더에서 찾을 수 있습니다. 파일 이름 자체가 _”Issues”_로 시작하므로 쉽게 위치를 찾을 수 있습니다.
파일 형식은 .CSV 입니다.
어떤 정보가 포함되어 있나요?¶
문제 보고서에는 변환 중에 추가된 모든 문제에 대한 다음 정보가 포함되어 있습니다.
Column | Description |
---|---|
Session ID | The session ID of the transformation. This is a unique identifier for the transformation session. |
Severity | One 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. |
Code | A unique identifier for the issue. |
Name | The name of the issue message. |
Description | The 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 File | The relative path of the file where the issues is generated. |
Line | The text line within the parent file where the issue is generated. |
Column | The column within the line where the issue is generated. |
Code Unit Database | The 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 Schema | The 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 Package | The 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 Name | The 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 ID | A string that uniquely identifies the code unit. The name of the object, without database and or schema qualification. |
Code Unit | The code unit that contains the issue. |
Code Unit Size | A 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;
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;
$$;
SSC-FDM-OR0035 변환 문제에 대한 문제 보고서의 행에는 다음 정보가 포함됩니다.
열 |
값 |
---|---|
세션 ID |
사용할 수 없음 |
심각도 |
낮음 |
코드 |
SSC-FDM-OR0035 |
이름 |
사용자 지정 UDF 삽입됨 |
설명 |
CUSTOM UDF ‘DBMS_OUTPUT.PUT_LINE_UDF’ INSERTED. |
상위 항목 파일 |
sample.sql |
라인 |
4 |
열 |
3 |
코드 단위 데이터베이스 |
N/A |
코드 단위 스키마 |
스키마1 |
코드 단위 패키지 |
N/A |
코드 단위 이름 |
프로시저1 |
코드 단위 ID |
schema1.procedure1 |
코드 단위 |
CREATE PROCEDURE |
코드 단위 크기 |
XS |