Commit d59ebac
authored
feat(spark): implement Spark
## Which issue does this PR close?
part of #15914
## Rationale for this change
Migrate spark functions from https://github.com/lakehq/sail/ to
datafusion engine to unify codebase
## What changes are included in this PR?
implement spark udaf try_sum
https://spark.apache.org/docs/latest/api/sql/index.html#try_sum
## Are these changes tested?
unit-tests and sqllogictests added
## Are there any user-facing changes?
now can be called in queriestry_sum function (#18569)1 parent ead8209 commit d59ebac
File tree
3 files changed
+811
-1
lines changed- datafusion
- spark/src/function/aggregate
- sqllogictest/test_files/spark/aggregate
3 files changed
+811
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
22 | 24 | | |
23 | 25 | | |
24 | 26 | | |
25 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
26 | 33 | | |
27 | 34 | | |
28 | 35 | | |
29 | 36 | | |
30 | 37 | | |
31 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
32 | 42 | | |
33 | 43 | | |
34 | | - | |
| 44 | + | |
35 | 45 | | |
0 commit comments