You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Resolves
[#105240](#105240)
Count_distinct doesn't work on source, but the type resolution was
allowing that through. This resulted in a 500 layer deeper in the
aggregations code. This PR fixes the 500 error by correctly failing
during type resolution.
Resolves
[elastic#105240](elastic#105240)
Count_distinct doesn't work on source, but the type resolution was
allowing that through. This resulted in a 500 layer deeper in the
aggregations code. This PR fixes the 500 error by correctly failing
during type resolution.
* [ESQL] Count_distinct(_source) should return a 400 (#110824)
Resolves
[#105240](#105240)
Count_distinct doesn't work on source, but the type resolution was
allowing that through. This resulted in a 500 layer deeper in the
aggregations code. This PR fixes the 500 error by correctly failing
during type resolution.
* Even hand-backporting, I messed up the capabilities file
* one more
The following use of
count
correctly returns the number of documents in an index:However, using
count_distinct
results in a respons with 500 status code:The behavior is the same when using synthetic source.
The text was updated successfully, but these errors were encountered: