-
Notifications
You must be signed in to change notification settings - Fork 24.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Previously, we extracted the result of the `CardinalityAgg` as `double` which resulted in values shown in the REST response with `.0`, even though the type of the corresponding column for `COUNT(DISTINCT <field_name>)` was showing `long`, e.g.: `152.0` instead of `152`. This affected only the REST interface of SQL and not the JDBC/ODBC drivers. Extract a long value instead of a double. Fixes: #58097 (cherry picked from commit 4660fae)
- Loading branch information
Showing
2 changed files
with
47 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters