Skip to content

[SPARK-47906][PYTHON][DOCS] Fix docstring and type hint of hll_union_agg#46128

Closed
zhengruifeng wants to merge 1 commit intoapache:masterfrom
zhengruifeng:fix_type_hll_union_agg
Closed

[SPARK-47906][PYTHON][DOCS] Fix docstring and type hint of hll_union_agg#46128
zhengruifeng wants to merge 1 commit intoapache:masterfrom
zhengruifeng:fix_type_hll_union_agg

Conversation

@zhengruifeng
Copy link
Copy Markdown
Contributor

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

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

function lit accepts both bool and Column

@zhengruifeng
Copy link
Copy Markdown
Contributor Author

thanks @HyukjinKwon

merged to master

@zhengruifeng zhengruifeng deleted the fix_type_hll_union_agg branch April 19, 2024 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants