-
Notifications
You must be signed in to change notification settings - Fork 593
[GLUTEN-8821][VL] Update aggregate/generator/window support doc and script #8971
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,71 @@ | ||
| # Aggregate Functions Support Status | ||
|
|
||
| **Out of 62 aggregate functions in Spark 3.5, Gluten currently fully supports 54 functions and partially supports 1 function.** | ||
|
|
||
| ## Aggregate Functions | ||
|
|
||
| | Spark Functions | Spark Expressions | Status | Restrictions | | ||
| |-----------------------|------------------------------------|----------|----------------| | ||
| | any | BoolOr | S | | | ||
| | any_value | AnyValue | S | | | ||
| | approx_count_distinct | HyperLogLogPlusPlus | S | | | ||
| | approx_percentile | ApproximatePercentile | S | | | ||
| | array_agg | CollectList | S | | | ||
| | avg | Average | S | | | ||
| | bit_and | BitAndAgg | S | | | ||
| | bit_or | BitOrAgg | S | | | ||
| | bit_xor | BitXorAgg | S | | | ||
| | bitmap_construct_agg | BitmapConstructAgg | | | | ||
| | bitmap_or_agg | BitmapOrAgg | | | | ||
| | bool_and | BoolAnd | S | | | ||
| | bool_or | BoolOr | S | | | ||
| | collect_list | CollectList | S | | | ||
| | collect_set | CollectSet | S | | | ||
| | corr | Corr | S | | | ||
| | count | Count | S | | | ||
| | count_if | CountIf | S | | | ||
| | count_min_sketch | CountMinSketchAggExpressionBuilder | | | | ||
| | covar_pop | CovPopulation | S | | | ||
| | covar_samp | CovSample | S | | | ||
| | every | BoolAnd | S | | | ||
| | first | First | S | | | ||
| | first_value | First | S | | | ||
| | grouping | Grouping | S | | | ||
| | grouping_id | GroupingID | S | | | ||
| | histogram_numeric | HistogramNumeric | | | | ||
| | hll_sketch_agg | HllSketchAgg | | | | ||
| | hll_union_agg | HllUnionAgg | | | | ||
| | kurtosis | Kurtosis | S | | | ||
| | last | Last | S | | | ||
| | last_value | Last | S | | | ||
| | max | Max | S | | | ||
| | max_by | MaxBy | S | | | ||
| | mean | Average | S | | | ||
| | median | Median | S | | | ||
| | min | Min | S | | | ||
| | min_by | MinBy | S | | | ||
| | mode | Mode | | | | ||
| | percentile | Percentile | S | | | ||
| | percentile_approx | ApproximatePercentile | S | | | ||
| | regr_avgx | RegrAvgX | S | | | ||
| | regr_avgy | RegrAvgY | S | | | ||
| | regr_count | RegrCount | S | | | ||
| | regr_intercept | RegrIntercept | S | | | ||
| | regr_r2 | RegrR2 | S | | | ||
| | regr_slope | RegrSlope | S | | | ||
| | regr_sxx | RegrSXX | S | | | ||
| | regr_sxy | RegrSXY | S | | | ||
| | regr_syy | RegrSYY | S | | | ||
| | skewness | Skewness | S | | | ||
| | some | BoolOr | S | | | ||
| | std | StddevSamp | S | | | ||
| | stddev | StddevSamp | S | | | ||
| | stddev_pop | StddevPop | S | | | ||
| | stddev_samp | StddevSamp | S | | | ||
| | sum | Sum | S | | | ||
| | try_avg | TryAverageExpressionBuilder | S | | | ||
| | try_sum | TrySumExpressionBuilder | PS | | | ||
| | var_pop | VariancePop | S | | | ||
| | var_samp | VarianceSamp | S | | | ||
| | variance | VarianceSamp | S | | | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| # Generator Functions Support Status | ||
|
|
||
| **Out of 7 generator functions in Spark 3.5, Gluten currently fully supports 4 functions.** | ||
|
|
||
| ## Generator Functions | ||
|
|
||
| | Spark Functions | Spark Expressions | Status | Restrictions | | ||
| |-------------------|--------------------------|----------|----------------| | ||
| | explode | ExplodeExpressionBuilder | S | | | ||
| | explode_outer | ExplodeExpressionBuilder | | | | ||
| | inline | Inline | S | | | ||
| | inline_outer | Inline | | | | ||
| | posexplode | PosExplode | S | | | ||
| | posexplode_outer | PosExplode | | | | ||
| | stack | Stack | S | | | ||
|
|
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it looks like the ANSI flag and the detail datatype support are missed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can't generate the datatype support list from parsing the log from unit tests, as they don't cover all function signatures. We can improve this by running expression fuzzer test in Gluten.