Commit 0d553d0
committed
[SPARK-47906][PYTHON][DOCS] Fix docstring and type hint of
### What changes were proposed in this pull request?
- Fix docstring;
- Fix type hint: `allowDifferentLgConfigK: Optional[bool]` -> `Optional[Union[bool, Column]]`
- Simplify implementation
### Why are the changes needed?
fix incorrect docstring and type hints
### Does this PR introduce _any_ user-facing change?
yes, doc changes
### How was this patch tested?
ci
### Was this patch authored or co-authored using generative AI tooling?
no
Closes #46128 from zhengruifeng/fix_type_hll_union_agg.
Authored-by: Ruifeng Zheng <ruifengz@apache.org>
Signed-off-by: Ruifeng Zheng <ruifengz@apache.org>hll_union_agg
1 parent 2bf4346 commit 0d553d0
File tree
2 files changed
+10
-16
lines changed- python/pyspark/sql
- connect/functions
- functions
2 files changed
+10
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3775 | 3775 | | |
3776 | 3776 | | |
3777 | 3777 | | |
3778 | | - | |
| 3778 | + | |
| 3779 | + | |
| 3780 | + | |
| 3781 | + | |
3779 | 3782 | | |
3780 | 3783 | | |
3781 | 3784 | | |
3782 | | - | |
3783 | | - | |
3784 | | - | |
3785 | | - | |
3786 | | - | |
3787 | | - | |
| 3785 | + | |
3788 | 3786 | | |
3789 | 3787 | | |
3790 | 3788 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19354 | 19354 | | |
19355 | 19355 | | |
19356 | 19356 | | |
19357 | | - | |
| 19357 | + | |
| 19358 | + | |
19358 | 19359 | | |
19359 | 19360 | | |
19360 | 19361 | | |
| |||
19366 | 19367 | | |
19367 | 19368 | | |
19368 | 19369 | | |
19369 | | - | |
19370 | | - | |
| 19370 | + | |
| 19371 | + | |
19371 | 19372 | | |
19372 | 19373 | | |
19373 | 19374 | | |
| |||
19412 | 19413 | | |
19413 | 19414 | | |
19414 | 19415 | | |
19415 | | - | |
19416 | | - | |
19417 | | - | |
19418 | | - | |
19419 | | - | |
19420 | | - | |
| 19416 | + | |
19421 | 19417 | | |
19422 | 19418 | | |
19423 | 19419 | | |
| |||
0 commit comments