Skip to content

Commit 5be2cae

Browse files
author
oravidov
committed
Increased information schema result limit
1 parent cdcbd3b commit 5be2cae

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

lineage/snowflake_query_history.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ class SnowflakeQueryHistory(QueryHistory):
1515
select query_text, database_name, schema_name
1616
from table(information_schema.query_history(
1717
end_time_range_start=>to_timestamp_ltz(:2),
18-
{end_time_range_end_expr}))
18+
{end_time_range_end_expr},
19+
result_limit=>10000))
1920
where execution_status = 'SUCCESS' and query_type not in
2021
('SHOW', 'COPY', 'COMMIT', 'DESCRIBE', 'ROLLBACK', 'CREATE_STREAM', 'DROP_STREAM', 'PUT_FILES',
2122
'BEGIN_TRANSACTION', 'GRANT', 'ALTER_SESSION', 'USE') and

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
setup(
2121
name='elementary-lineage',
2222
description='Presenting data lineage based on your data warehouse query history',
23-
version='0.0.5',
23+
version='0.0.6',
2424
packages=find_packages(),
2525
include_package_data=True,
2626
python_requires='>=3.6.2',

0 commit comments

Comments
 (0)