mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-07-30 04:39:58 +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
|
FROM pg_catalog.stl_query
|
||||||
WHERE userid > 1
|
WHERE userid > 1
|
||||||
-- Filter out all automated & cursor queries
|
-- Filter out all automated & cursor queries
|
||||||
AND querytxt NOT ILIKE 'fetch %'
|
AND querytxt NOT ILIKE 'fetch %%'
|
||||||
AND querytxt NOT ILIKE 'padb_fetch_sample: %'
|
AND querytxt NOT ILIKE 'padb_fetch_sample: %%'
|
||||||
AND querytxt NOT ILIKE 'Undoing % transactions on table % with current xid%'
|
AND querytxt NOT ILIKE 'Undoing %% transactions on table %% with current xid%%'
|
||||||
AND aborted = 0
|
AND aborted = 0
|
||||||
AND starttime >= '{start_time}'
|
AND starttime >= '{start_time}'
|
||||||
AND starttime < '{end_time}'
|
AND starttime < '{end_time}'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user