SnowConvert AI - Hive 기능적 차이¶
SSC-FDM-HV0001¶
외부 테이블에 값을 삽입하는 기능은 Snowflake에서 지원되지 않습니다
설명¶
Hive 형식 테이블을 사용하면 값을 삽입할 수 있지만, Snowflake 외부 테이블은 값 삽입을 지원하지 않습니다. 즉, 테이블 구조가 변환되는 동안 Snowflake의 외부 테이블에 직접 데이터를 삽입하려는 모든 작업이 실패합니다.
코드 예제¶
입력¶
Spark¶
출력¶
Snowflake¶
모범 사례¶
추가 지원이 필요한 경우 snowconvert-support@snowflake.com으로 이메일을 보내주세요.
SSC-FDM-HV0002¶
Partitioned column added to table definition
설명¶
For Hive/Spark partitioned tables, the partition columns are stored in the directory structure rather than in the table data. Snowflake does not support this pattern. SnowConvert AI adds the partitioned columns to the table definition as regular columns so the table schema is complete.
코드 예제¶
입력¶
Hive¶
출력¶
Snowflake¶
모범 사례¶
Verify that partition columns are correctly mapped to your file path structure.
추가 지원이 필요한 경우 snowconvert-support@snowflake.com으로 이메일을 보내주세요.
SSC-FDM-HV0003¶
NULL format parameter is not supported in FROM_UNIXTIME
설명¶
Hive’s FROM_UNIXTIME function allows a NULL format parameter, in which case it uses a default format. Snowflake’s equivalent (TO_VARCHAR with TO_TIMESTAMP_NTZ) does not support a NULL format parameter. SnowConvert AI passes the NULL through, but the conversion may fail at runtime or behave unexpectedly.
코드 예제¶
입력¶
Hive¶
출력¶
Snowflake¶
모범 사례¶
Replace NULL format parameters with an explicit format string (e.g., ‘yyyy-MM-dd HH:mm:ss’).
추가 지원이 필요한 경우 snowconvert-support@snowflake.com으로 이메일을 보내주세요.
SSC-FDM-HV0004¶
INSTR transformed to REGEXP_INSTR changes literal to regex pattern
설명¶
Hive’s INSTR function uses literal string matching. Snowflake does not have INSTR; SnowConvert AI translates it to REGEXP_INSTR. REGEXP_INSTR interprets the pattern as a regex, so metacharacters (e.g., ., *, $) will behave differently than in Hive’s literal matching.
코드 예제¶
입력¶
Hive¶
출력¶
Snowflake¶
모범 사례¶
When the pattern contains regex metacharacters, escape them or use REGEXP_REPLACE to sanitize the pattern.
추가 지원이 필요한 경우 snowconvert-support@snowflake.com으로 이메일을 보내주세요.