OpenSearch/x-pack/plugin/sql/qa
Hicham Mallah 5b32d112e1
SQL: Fix issues with GROUP BY queries (#41964)
Translate to an agg query even if only literals are selected,
so that the correct number of rows is returned (number of buckets).

Fix issue with key only in GROUP BY (not in select) and WHERE clause:
Resolve aggregates and groupings based on the child plan which holds
the info info for all the fields of the underlying table.

Fixes: #41951
Fixes: #41413
(cherry picked from commit 45b85809678b34a448639a420b97e25436ae851f)
2020-02-15 10:38:24 +01:00
..
multi-node Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
no-sql SQL: handle SQL not being available in a more graceful way (#43665) 2019-07-10 14:36:24 +03:00
security Check if interface is up for loopback devices only (#51583) 2020-01-28 18:38:46 -05:00
single-node SQL: supplement input checks on received request parameters (#52229) (#52277) 2020-02-12 19:45:12 +01:00
src/main SQL: Fix issues with GROUP BY queries (#41964) 2020-02-15 10:38:24 +01:00
build.gradle Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00