SnowConvert: 요소 보고서

“요소”란 무엇인가요?

여기서 ‘요소’라는 용어는 문법 요소, 즉 특정 언어 내에서 이름, 구문 및 목적을 가진 문법의 요소를 가리키는 데 사용됩니다.

일반적으로 이러한 요소는 언어 설명서에서 강조 표시되며 매우 중요합니다.

다음은 SQL 언어의 요소 중 몇 가지 예입니다.

  • 모든 DDL, 예: CREATE TABLECREATE VIEW

  • DML 의 중요 내용, 예: PARTITION BYNOT NULL

  • 모든 DML, 예: INSERTDELETE

  • IN, NOT IN, BETWEENLIKE 같은 몇 가지 중요한 식은 다음과 같습니다

  • 조건부 및 산술 연산자를 포함한 연산자

  • ORDER BY, WHEN, INNER JOINTOP 같은 쿼리의 일부 내부 부분.

  • 중요 함수, 예: AVGRANK

기본적으로 평가 목적으로 추적할 가치가 있는 것은 무엇이든 요소로 간주할 수 있습니다.

어디서 찾을 수 있나요?

요소 보고서는 변환의 출력 폴더에 있는 _”reports”_라는 이름의 폴더에서 찾을 수 있습니다. 파일 이름 자체가 _”Elements”_로 시작하므로 쉽게 위치를 찾을 수 있습니다.

파일 형식은 .CSV 입니다.

어떤 정보가 포함되어 있나요?

요소 보고서는 테이블 형식으로 표시되며 다음 열을 포함합니다.

ColumnDescription
SessionIDThe session ID of the transformation. This is a unique identifier for the transformation session.
CategoryThe element's corresponding category. These can be DDL, DDL Content, DML, Functions & Expressions, Statement, Query, and so on.
Grammar ElementThe name associated to the element, often the same as found in the official documentation for the language.
File TypeThe type of the file that contains the element. For example: SQL.
Total CountThe total count of that particular element found during the transformation process.
Not Converted Count (Self)The count of that particular element that presented issues severe enough for it to not properly transform. Usually unsupported structures or elements that had a particular transformation error.
Keep in mind that "Self" means that some of the inner contents of the element may or may not be not converted, but if the element itself did not present errors, it will not be counted towards this column.

요약

각 개별 요소는 특정 기준을 사용하여 요약되며, 여러 열을 포함하여’복합 키’를 형성할 수 있습니다. 기본 그룹화는 카테고리, 문법 요소 및 파일 유형 열을 사용하여 수행됩니다.

이 규칙에 따라 동일한 SELECT 요소는 포함된 파일의 유형에 따라 다르게 요약될 수 있으며, 동일한 문법 요소(또는 이름)를 공유하는 두 요소가 카테고리가 다른 경우 독립적으로 요약될 수도 있습니다.