OpenSearch/x-pack/plugin/sql
Marios Trivyzas 644ae49817
SQL: Fix behaviour of COUNT(DISTINCT <literal>) (#56869) (#56932)
Previously `COUNT(DISTINCT <literal>)` was returning the same result
as `COUNT(<literal>)` which is not correct as it should always return 1
if there is at least one matching row (bucket if there is a GROUP BY),
or 0 otherwise.

(cherry picked from commit 7f7d7562d43034907f432d39d0d66f490d78f4a8)
2020-05-19 11:19:06 +02:00
..
jdbc Move publishing configuration to a separate plugin (#56727) 2020-05-14 20:23:07 -07:00
qa SQL: Fix behaviour of COUNT(DISTINCT <literal>) (#56869) (#56932) 2020-05-19 11:19:06 +02:00
sql-action upgrade to Lucene 8.6.0 snapshot (#56661) 2020-05-13 14:25:16 +02:00
sql-cli SQL: relax version lock between server and clients (#56148) (#56223) 2020-05-05 18:27:06 +02:00
sql-client Mute sql.client.VersionTests suite (#56883) 2020-05-18 10:15:30 +01:00
sql-proto Upgrade to Jackson 2.10.4 (#56188) 2020-05-06 17:20:23 -04:00
src SQL: Fix behaviour of COUNT(DISTINCT <literal>) (#56869) (#56932) 2020-05-19 11:19:06 +02:00
build.gradle Migrate remaining ESIntegTestCases to internalClusterTest (#56479) (#56563) 2020-05-11 21:06:04 -07:00