You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Add bool AND/OR and bit AND/OR/XOR aggregation feature to TableEvolutionFuzzer (facebookincubator#15528)
Summary:
Pull Request resolved: facebookincubator#15528
Add support for bool_and, bool_or aggregation and bitwise_and_agg, bitwise_or_agg, bitwise_xor_agg functions in the TableEvolutionFuzzer's aggregation pushdown testing.
## Changes
Extended the aggregation pushdown configuration generator to support boolean aggregation functions and bitwise aggregation functions in addition to the existing numeric aggregation functions:
- Split `supportedAggs` into two separate lists:
- `supportedNumericAggs`: {min, max} for numeric columns (INTEGER, BIGINT, REAL, DOUBLE, etc.)
- `supportedBooleanAggs`: {bool_and, bool_or} for boolean columns
- `supportedIntegerAggs`: {bitwise_and_agg, bitwise_or_agg, bitwise_xor_agg} for integer columns
- Updated column collection logic to separately track numeric and boolean columns that are eligible for aggregation
- Modified aggregation selection to independently try both numeric and boolean aggregations with 50% probability each, allowing for more diverse test coverage
This change enables more comprehensive testing of aggregation pushdown functionality by including boolean aggregate functions, ensuring better coverage of different data types and aggregation scenarios.
Reviewed By: Yuhta
Differential Revision: D87204100
fbshipit-source-id: 9ae782fb70496884362edfc380da5595e9065284
0 commit comments