mirror of
https://github.com/datahub-project/datahub.git
synced 2025-08-22 08:08:01 +00:00
fix(ingest/snowflake): order queries for queries_v2 (#12551)
This commit is contained in:
parent
21496ef9d0
commit
fe173faf84
@ -731,6 +731,9 @@ fingerprinted_queries as (
|
||||
JOIN filtered_access_history a USING (query_id)
|
||||
)
|
||||
SELECT * FROM query_access_history
|
||||
-- Our query aggregator expects the queries to be added in chronological order.
|
||||
-- It's easier for us to push down the sorting to Snowflake/SQL instead of doing it in Python.
|
||||
ORDER BY QUERY_START_TIME ASC
|
||||
"""
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user