Migrate Hive stats definition to use standard aggregations#14294
Migrate Hive stats definition to use standard aggregations#14294findepi merged 4 commits intotrinodb:masterfrom
Conversation
|
Seems reasonable, is the hope to eventually remove the code that handles the deprecated |
That's my goal, yes. |
Introduce HiveColumnStatisticType with only the set of values used by Hive connector.
This updates Hive to use standard aggregation functions provided with Trino for stats aggregation (where possible), instead of using the `ColumnStatisticType` enum. The now-unused options in that enum are deprecated.
|
CI #13946 and one related |
fb9992b to
11cdd73
Compare
|
CI https://github.com/trinodb/trino/actions/runs/3134207114/jobs/5088871945 & other i don't know yet how this is related, investigating. |
|
The upstream job looks facing the same issue. https://github.com/trinodb/trino/actions/runs/3134131222/jobs/5088779482 |
losipiuk
left a comment
There was a problem hiding this comment.
Nice.
Why not migrate the remaining two also?
This should be done leveraging #14222 or equivalent |
@ebyhr thanks. I noticed too that master is currently failing. |
|
CI also TestRoles -> potential fix #14323 |
Agreed. Eventually we should migrate to aggregations on composite expressions. But we could use already defined |
I would rename them before letting connectors use them (in one of the PRs incarnations i did that). |
This updates Hive to use standard aggregation functions provided with
Trino for stats aggregation (where possible), instead of using the
ColumnStatisticTypeenum. The now-unused options in that enum aredeprecated.
Follows #14233 and replaces #14220