Commit da5685b
[SPARK-23672][PYTHON] Document support for nested return types in scalar with arrow udfs
## What changes were proposed in this pull request?
Clarify docstring for Scalar functions
## How was this patch tested?
Adds a unit test showing use similar to wordcount, there's existing unit test for array of floats as well.
Closes #20908 from holdenk/SPARK-23672-document-support-for-nested-return-types-in-scalar-with-arrow-udfs.
Authored-by: Holden Karau <[email protected]>
Signed-off-by: Bryan Cutler <[email protected]>1 parent 12e3e9f commit da5685b
2 files changed
+21
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2720 | 2720 | | |
2721 | 2721 | | |
2722 | 2722 | | |
2723 | | - | |
2724 | 2723 | | |
2725 | 2724 | | |
| 2725 | + | |
| 2726 | + | |
2726 | 2727 | | |
2727 | 2728 | | |
2728 | 2729 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4443 | 4443 | | |
4444 | 4444 | | |
4445 | 4445 | | |
| 4446 | + | |
4446 | 4447 | | |
4447 | 4448 | | |
4448 | 4449 | | |
| |||
4658 | 4659 | | |
4659 | 4660 | | |
4660 | 4661 | | |
| 4662 | + | |
| 4663 | + | |
| 4664 | + | |
| 4665 | + | |
| 4666 | + | |
| 4667 | + | |
| 4668 | + | |
| 4669 | + | |
| 4670 | + | |
| 4671 | + | |
| 4672 | + | |
| 4673 | + | |
| 4674 | + | |
| 4675 | + | |
| 4676 | + | |
| 4677 | + | |
| 4678 | + | |
| 4679 | + | |
4661 | 4680 | | |
4662 | 4681 | | |
4663 | 4682 | | |
| |||
0 commit comments