[multistage] Revisit the usage of ANY in AggregationFunctionType and TransformFunctionType
Open
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
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