OpenSearch/x-pack/plugin/sql
Andrei Stefan 791814bb47 SQL: fix incorrect ordering of groupings (GROUP BY) based on orderings (ORDER BY) (#40087)
* Take into consideration aliases that can be used as aggregates
and in the ORDER BY element so that the groupings are re-ordered inside
the composite aggregation according to the ORDER BY ordering.

(cherry picked from commit 110c0b90b9cf2e9344ab3f412cfa8f8cd94ad71f)
2019-03-18 15:37:45 +02:00
..
jdbc SQL: Add multi_value_field_leniency inside FieldHitExtractor (#40113) 2019-03-18 14:56:03 +02:00
qa SQL: fix incorrect ordering of groupings (GROUP BY) based on orderings (ORDER BY) (#40087) 2019-03-18 15:37:45 +02:00
sql-action SQL: Add multi_value_field_leniency inside FieldHitExtractor (#40113) 2019-03-18 14:56:03 +02:00
sql-cli SQL: Add multi_value_field_leniency inside FieldHitExtractor (#40113) 2019-03-18 14:56:03 +02:00
sql-client SQL: Add multi_value_field_leniency inside FieldHitExtractor (#40113) 2019-03-18 14:56:03 +02:00
sql-proto SQL: Add multi_value_field_leniency inside FieldHitExtractor (#40113) 2019-03-18 14:56:03 +02:00
src SQL: fix incorrect ordering of groupings (GROUP BY) based on orderings (ORDER BY) (#40087) 2019-03-18 15:37:45 +02:00
build.gradle SQL: [Tests] Fix and enable internalClusterTests (#37300) 2019-01-11 22:43:17 +02:00