Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
SQL Calcite: Added optimization for COUNT(column) if column is indexed
-
Docs Required, Release Notes Required
Description
Investigate the optimization for single group aggregates,
e.g.: SELECT <aggregates> FROM <table>
Now the hash based aggregates are used for this case.
We can obtain a little performance improvement.
Also the special cases (e.g.: SELECT COUNT(<any-columns>) FROM <table>) may be optimized to use table/cache size.
Attachments
Issue Links
- is part of
-
IGNITE-12248 Apache Calcite based query execution engine
-
- Open
-
- is related to
-
IGNITE-16920 Calcite Engine. COUNT(*) lacks trivial optimization.
-
- Resolved
-
- links to