vertica query syntax issue fixed (#8463)

This commit is contained in:
Onkar Ravgan 2022-11-01 00:16:45 +05:30 committed by GitHub
parent 5bdb9d0cfd
commit ddc66c8392
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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