We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b411a97 commit 7c5922dCopy full SHA for 7c5922d
metadata-ingestion/src/datahub/ingestion/source/snowflake/snowflake_queries.py
@@ -731,6 +731,9 @@ def _build_enriched_query_log_query(
731
JOIN filtered_access_history a USING (query_id)
732
)
733
SELECT * FROM query_access_history
734
+-- Our query aggregator expects the queries to be added in chronological order.
735
+-- It's easier for us to push down the sorting to Snowflake/SQL instead of doing it in Python.
736
+ORDER BY QUERY_START_TIME ASC
737
"""
738
739
0 commit comments