Query Filters
QueryFilter(
# Include users with names with specific prefixes
include_user_name=["ANALYST_*", "DATA_SCIENCE_*"],
# Exclude user with specific name
exclude_user_name=["ANALYST_JOHN_DOE"],
)QueryFilter(
# Include queries running on warehouses with specific suffixes
include_warehouse=["*_SMALL_WH", "*_MEDIUM_WH"],
# Include users with emails from specific org
include_user_email=["*@myorg.com"]
)QueryFilter(
# Exclude queries with comment "--no-kill" in SQL text
exclude_sql_text=["*--no-kill"]
)Filter Arguments
Usage notes
Last updated