apache / apache/pinot

[multistage] Revisit the usage of ANY in AggregationFunctionType and TransformFunctionType

Open
#11,690 0 comments 0 reactions 0 assignees View on GitHub
multi-stage
Dominant language
Java
Stars
6.1k
Forks
1.5k
Avg merge
2d 55m
Merged PRs (30d)
182

Description

Since we can be more precisely check the type using `OperandTypes.or(...,)`.
Ref: https://github.com/apache/pinot/pull/11683/files#r1336631723

Contributor guide

Open the contributing guide

Research direction

Review the usage of ANY in AggregationFunctionType and TransformFunctionType, then read the referenced Apache Pinot pull request discussion for the intended type checks. Replace the broad checks with the more precise OperandTypes.or(...) approach, and verify the multistage function type validation remains correct.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
databases
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.