mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 09:22:43 +03:00
a6dbc7bb1d
<!-- 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 |
||
---|---|---|
.. | ||
auth | ||
custom-connector | ||
engine | ||
execute | ||
lang-graphql | ||
metadata-resolve | ||
metadata-schema-generator | ||
open-dds | ||
plugins/pre-execution-plugin | ||
query-usage-analytics | ||
schema | ||
sql | ||
utils |