SnowConvert AI - Redshift

What is SnowConvert AI for Redshift?

SnowConvert AI is a software that understands SQL Redshift scripts and converts this source code into functionally equivalent Snowflake code.

변환 유형

Specifically, SnowConvert AI for Redshift performs the following conversions:

Redshift에서 Snowflake SQL 로

SnowConvert AI recognizes the Redshift source code and converts the different statements into the appropriate SQL for the Snowflake target.

샘플 코드

입력 코드

CREATE TABLE table1 (
    col1 INTEGER GENERATED BY DEFAULT AS IDENTITY(1,1)
);
Copy

출력 코드

CREATE TABLE table1 (
    col1 INTEGER IDENTITY(1,1) ORDER
)
COMMENT = '{ "origin": "sf_sc", "name": "snowconvert", "version": {  "major": 0,  "minor": 0,  "patch": "0" }, "attributes": {  "component": "redshift",  "convertedOn": "09/17/2024" }}'
;
Copy

보시다시피, 대부분의 구조는 동일하게 유지되지만 일부 열 속성은 Snowflake에 해당하는 속성으로 변환해야 합니다. 자세한 내용은 Redshift 변환 참조 설명서를 참조하십시오.

SnowConvert AI Terminology

이러한 코드 변환의 마법에 빠져들기 전에 몇 가지 용어/정의에 대한 설명서를 통해 그 의미를 이해할 수 있도록 몇 가지 용어를 소개합니다.

  • SQL (구조화된 쿼리 언어): 대부분의 최신 데이터베이스 아키텍처에서 데이터를 저장, 조작, 검색하기 위한 표준 언어입니다.

  • SnowConvert AI: the software that converts securely and automatically your Redshift files to the Snowflake cloud data platform.

  • Conversion rule or transformation rule: rules that allow SnowConvert AI to convert from a portion of source code to the expected target code.

  • Parse: parse or parsing is an initial process done by SnowConvert AI to understand the source code and build up an internal data structure required for executing the conversion rules.

In the next few pages, you’ll learn more about the kind of conversions that SnowConvert AI for Redshift is capable of. If you’re ready to get started, visit the Getting Started page in this documentation.