mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-07-30 20:59:57 +00:00
Fix Snowflake get comments query (#5451)
This commit is contained in:
parent
8dfda81408
commit
0a9e36f1b4
@ -37,8 +37,8 @@ def run_ingest(config_path: str) -> None:
|
||||
config_dict = load_config_file(config_file)
|
||||
|
||||
try:
|
||||
logger.debug(f"Using config: {config_dict}")
|
||||
workflow = Workflow.create(config_dict)
|
||||
logger.debug(f"Using config: {workflow.config}")
|
||||
except ValidationError as e:
|
||||
click.echo(e, err=True)
|
||||
logger.debug(traceback.format_exc())
|
||||
|
@ -324,8 +324,8 @@ select TABLE_NAME from information_schema.tables where TABLE_SCHEMA = '{}' and T
|
||||
"""
|
||||
|
||||
SNOWFLAKE_GET_COMMENTS = """
|
||||
select COMMENT
|
||||
from SHOP_DB.information_schema.TABLES
|
||||
select COMMENT
|
||||
from information_schema.TABLES
|
||||
WHERE TABLE_SCHEMA = '{schema_name}'
|
||||
AND TABLE_NAME = '{table_name}'
|
||||
"""
|
||||
|
Loading…
x
Reference in New Issue
Block a user