Skip to content

Changed exact string match to match based on SQLQueryData#197

Merged
milindsrivastava1997 merged 1 commit intomainfrom
148-queryenginerust-should-not-do-an-exact-match-of-an-incoming-query-against-inference_config-for-sql-queries
Mar 19, 2026
Merged

Changed exact string match to match based on SQLQueryData#197
milindsrivastava1997 merged 1 commit intomainfrom
148-queryenginerust-should-not-do-an-exact-match-of-an-incoming-query-against-inference_config-for-sql-queries

Conversation

@milindsrivastava1997
Copy link
Copy Markdown
Contributor

@milindsrivastava1997 milindsrivastava1997 commented Mar 18, 2026

Earlier, asap-query-engine does an exact string match of each incoming SQL query to queries in the inference_config. This breaks for cases where the incoming queries has absolute timestamps in the SQL WHERE clause but the inference config uses NOW(). This PR changes the exact string match to instead match based on the parsed SQLQueryData structure.

@milindsrivastava1997 milindsrivastava1997 merged commit a9fc460 into main Mar 19, 2026
4 checks passed
@milindsrivastava1997 milindsrivastava1997 deleted the 148-queryenginerust-should-not-do-an-exact-match-of-an-incoming-query-against-inference_config-for-sql-queries branch March 19, 2026 20:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

QueryEngineRust should not do an exact match of an incoming query against inference_config for SQL queries

2 participants