graphql-engine/v3/crates
Vamshi Surabhi a6dbc7bb1d Do not replace the existing analyzer rules (#870)
<!-- The PR description should answer 2 (maybe 3) important questions:
-->

### What

This PR fixes issues in the SQL layer where the following queries would
fail:

1. `select count(*) from "Track"`
2. `select * from "Track" where id = 1`

<!-- Consider: do we need to add a changelog entry? -->

### How

These were failing because the built-in analyzer rules that rewrite
`count(*)` and type-cast expressions weren't firing.
`with_analyzer_rules` replaces the analyzer rules of a session context
with the given list. We want our analyzer rule to be fired in addition
to the built-in analyzer rules.

Tests are being worked on in a separate PR.

V3_GIT_ORIGIN_REV_ID: 42231f97b5b28d9b7eeff0c3e592cb43ff7d952f
2024-07-23 06:04:38 +00:00
..
auth Explicitly import thiserror::Error in place (#827) 2024-07-11 15:18:27 +00:00
custom-connector Upgrade ndc_models to v0.2.0-rc0 (#835) 2024-07-16 01:53:42 +00:00
engine Implement remote relationship predicates in where filter clause (#761) 2024-07-18 07:47:04 +00:00
execute Implement remote relationship predicates in where filter clause (#761) 2024-07-18 07:47:04 +00:00
lang-graphql Explicitly import thiserror::Error in place (#827) 2024-07-11 15:18:27 +00:00
metadata-resolve Return AggregateExpressionError from aggregates stage (#843) 2024-07-18 12:01:40 +00:00
metadata-schema-generator Move all dependency versions into the workspace file. (#734) 2024-06-20 12:25:55 +00:00
open-dds Rename one of the ArgumentPreset types to DataConnectorArgumentPreset (#860) 2024-07-19 09:10:29 +00:00
plugins/pre-execution-plugin Explicitly import thiserror::Error in place (#827) 2024-07-11 15:18:27 +00:00
query-usage-analytics Reimplement most OpenDD newtypes using SmolStr and a macro (#797) 2024-07-05 10:16:33 +00:00
schema Split ValueExpression (#812) 2024-07-10 02:30:09 +00:00
sql Do not replace the existing analyzer rules (#870) 2024-07-23 06:04:38 +00:00
utils Use the release version as the relevant tracing attribute. (#823) 2024-07-11 07:32:30 +00:00