fix(ingest): redshift # build late binding view lineage when sql written in upper case (#7223)

This commit is contained in:
Teppo Naakka 2023-02-02 21:53:30 +02:00 committed by GitHub
parent 4732694780
commit ba7b9d068e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -961,7 +961,7 @@ class RedshiftSource(SQLAlchemySource):
pg_catalog.pg_namespace AS n
ON c.relnamespace = n.oid
WHERE relkind = 'v'
and ddl like '%%with no schema binding%%'
and ddl ilike '%%with no schema binding%%'
and
n.nspname not in ('pg_catalog', 'information_schema')
"""