mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-12-24 14:08:45 +00:00
vertica query syntax issue fixed (#8463)
This commit is contained in:
parent
5bdb9d0cfd
commit
ddc66c8392
@ -317,7 +317,8 @@ NEO4J_AMUNDSEN_DASHBOARD_QUERY = textwrap.dedent(
|
||||
VERTICA_GET_COLUMNS = textwrap.dedent(
|
||||
"""
|
||||
SELECT column_name, data_type, column_default, is_nullable, comment
|
||||
FROM v_catalog.columns col left join v_catalog.comments com on col.table_id=com.object_id and com.object_type='COLUMN' and col.column_name=com.child_object # pylint: disable=line-too-long
|
||||
FROM v_catalog.columns col left join v_catalog.comments com on col.table_id=com.object_id
|
||||
and com.object_type='COLUMN' and col.column_name=com.child_object
|
||||
WHERE lower(table_name) = '{table}'
|
||||
AND {schema_condition}
|
||||
UNION ALL
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user