SnowConvert AI - File and Object Level Breakdown - SQL Identified Objects

SQL -Oracle에 대한 평가 보고서의 식별된 오브젝트 섹션

변환율 - 오브젝트

참고

오브젝트에 심각도가 중간, 높음, 매우 높음인 문제가 없는 경우 마이그레이션이 성공한 것으로 간주합니다.

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
Copy

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
);
Copy

예상 오브젝트 변환율: 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
);
Copy

예상 코드 변환율: 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%.

Lines of Code

식별된 최상위 오브젝트에 사용되는 총 라인 코드의 양을 나타냅니다. 최상위 오브젝트의 코드 줄과 설명이 이 열에 사용되는다는 점을 고려하는 것이 중요합니다. 반면에 빈 줄은 이 열에서 계산되지 않습니다.

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
);
Copy

예상되는 코드 라인: 8

설명: 이 경우 CREATE TABLE 문에 사용되는 코드에서 6줄, 최상위 오브젝트 내부에 있는 설명에 2줄이 있습니다.

Total Object Quantity

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
);
Copy

예상 총 오브젝트 수량: 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.

Parsing Errors

각 최상위 오브젝트 유형의 식별자 안에 있는 구문 분석 오류의 수를 나타냅니다.

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
);
Copy

예상되는 구문 분석 오류: 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.