Skip to content
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

Fix inspect issue of pandas udf in SP by using kwargs #274

Merged
merged 2 commits into from
Mar 23, 2022

Conversation

sfc-gh-jdu
Copy link
Collaborator

No description provided.

@@ -447,7 +440,7 @@ def register(
replace,
parallel,
kwargs.get("max_batch_size"),
from_pandas_udf_function,
kwargs.get("_from_pandas_udf_function"),
Copy link
Collaborator

Choose a reason for hiding this comment

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

This might be nitpick, but should we do kwargs.get("_from_pandas_udf_function", False)? The type hint for __do_register_udf is bool.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

yep good point, just changed to this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants