Skip to content

Commit

Permalink
Increased information schema result limit
Browse files Browse the repository at this point in the history
  • Loading branch information
oravidov committed Sep 23, 2021
1 parent cdcbd3b commit 5be2cae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lineage/snowflake_query_history.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ class SnowflakeQueryHistory(QueryHistory):
select query_text, database_name, schema_name
from table(information_schema.query_history(
end_time_range_start=>to_timestamp_ltz(:2),
{end_time_range_end_expr}))
{end_time_range_end_expr},
result_limit=>10000))
where execution_status = 'SUCCESS' and query_type not in
('SHOW', 'COPY', 'COMMIT', 'DESCRIBE', 'ROLLBACK', 'CREATE_STREAM', 'DROP_STREAM', 'PUT_FILES',
'BEGIN_TRANSACTION', 'GRANT', 'ALTER_SESSION', 'USE') and
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
setup(
name='elementary-lineage',
description='Presenting data lineage based on your data warehouse query history',
version='0.0.5',
version='0.0.6',
packages=find_packages(),
include_package_data=True,
python_requires='>=3.6.2',
Expand Down

0 comments on commit 5be2cae

Please sign in to comment.