Skip to content

Commit

Permalink
fix(ingest/snowflake): Add handling of Hybrid Table type for Snowflak…
Browse files Browse the repository at this point in the history
…e ingestion (#12039)
  • Loading branch information
siong-tcha authored Dec 6, 2024
1 parent eef2077 commit ea9eaf4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def tables_for_database(db_name: Optional[str]) -> str:
auto_clustering_on AS "AUTO_CLUSTERING_ON"
FROM {db_clause}information_schema.tables t
WHERE table_schema != 'INFORMATION_SCHEMA'
and table_type in ( 'BASE TABLE', 'EXTERNAL TABLE')
and table_type in ( 'BASE TABLE', 'EXTERNAL TABLE', 'HYBRID TABLE')
order by table_schema, table_name"""

@staticmethod
Expand All @@ -152,7 +152,7 @@ def tables_for_schema(schema_name: str, db_name: Optional[str]) -> str:
auto_clustering_on AS "AUTO_CLUSTERING_ON"
FROM {db_clause}information_schema.tables t
where table_schema='{schema_name}'
and table_type in ('BASE TABLE', 'EXTERNAL TABLE')
and table_type in ('BASE TABLE', 'EXTERNAL TABLE', 'HYBRID TABLE')
order by table_schema, table_name"""

@staticmethod
Expand Down

0 comments on commit ea9eaf4

Please sign in to comment.