mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-07-29 12:19:57 +00:00
[ISSUE-6162] Escape wildcards on revised RS query (#6200)
[ISSUE-6162] Escape wildcards on revised RS query (#6200)
This commit is contained in:
parent
4c62237bcb
commit
0cfe6e6cb7
@ -7,9 +7,9 @@ REDSHIFT_SQL_STATEMENT = """
|
||||
FROM pg_catalog.stl_query
|
||||
WHERE userid > 1
|
||||
-- Filter out all automated & cursor queries
|
||||
AND querytxt NOT ILIKE 'fetch %'
|
||||
AND querytxt NOT ILIKE 'padb_fetch_sample: %'
|
||||
AND querytxt NOT ILIKE 'Undoing % transactions on table % with current xid%'
|
||||
AND querytxt NOT ILIKE 'fetch %%'
|
||||
AND querytxt NOT ILIKE 'padb_fetch_sample: %%'
|
||||
AND querytxt NOT ILIKE 'Undoing %% transactions on table %% with current xid%%'
|
||||
AND aborted = 0
|
||||
AND starttime >= '{start_time}'
|
||||
AND starttime < '{end_time}'
|
||||
|
Loading…
x
Reference in New Issue
Block a user