graphql-engine/server/tests-py/queries/graphql_query
Vladimir Ciobanu 6e752a7876 server: add type information to aggregates and stringify them (closes #5704)
Fixes https://github.com/hasura/graphql-engine/issues/5704 by checking, for aggregate fields whether we are handling a numeric aggregation.

This PR also adds type information to `ColFld` such that we know the type of the field.

This is the second attempt. See #319 for a less invasive approach. @nicuveo suggested type information might be useful, and since it wasn't hard to add, I think this version is better as well.

GitOrigin-RevId: aa6a259fd5debe9466df6302839ddbbd0ea659b5
2021-01-18 13:52:51 +00:00
..
agg_perm [server] coalesce multiple run_sql calls in tests (#270) 2021-01-06 16:07:22 +00:00
aggregations server: add type information to aggregates and stringify them (closes #5704) 2021-01-18 13:52:51 +00:00
allowlist [server] coalesce multiple run_sql calls in tests (#270) 2021-01-06 16:07:22 +00:00
basic [server] coalesce multiple run_sql calls in tests (#270) 2021-01-06 16:07:22 +00:00
boolexp [server] coalesce multiple run_sql calls in tests (#270) 2021-01-06 16:07:22 +00:00
caching [server] coalesce multiple run_sql calls in tests (#270) 2021-01-06 16:07:22 +00:00
computed_fields [server] coalesce multiple run_sql calls in tests (#270) 2021-01-06 16:07:22 +00:00
custom_schema [server] coalesce multiple run_sql calls in tests (#270) 2021-01-06 16:07:22 +00:00
enums [server] coalesce multiple run_sql calls in tests (#270) 2021-01-06 16:07:22 +00:00
functions [server] coalesce multiple run_sql calls in tests (#270) 2021-01-06 16:07:22 +00:00
limits [server] coalesce multiple run_sql calls in tests (#270) 2021-01-06 16:07:22 +00:00
offset [server] coalesce multiple run_sql calls in tests (#270) 2021-01-06 16:07:22 +00:00
order_by [server] coalesce multiple run_sql calls in tests (#270) 2021-01-06 16:07:22 +00:00
permissions [server] coalesce multiple run_sql calls in tests (#270) 2021-01-06 16:07:22 +00:00
relay [server] coalesce multiple run_sql calls in tests (#270) 2021-01-06 16:07:22 +00:00
v1alpha1/errors [server] coalesce multiple run_sql calls in tests (#270) 2021-01-06 16:07:22 +00:00