Skip to content

WIP: scalar UDFs with metadata #1110

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
wants to merge 2 commits into from

Conversation

timsaucer
Copy link
Contributor

Which issue does this PR close?

Closes #.

Rationale for this change

What changes are included in this PR?

Are there any user-facing changes?

@timsaucer timsaucer force-pushed the feat/scalar-udf-metadata branch from b06f381 to d51aff1 Compare April 28, 2025 17:43
@@ -77,6 +77,15 @@ def __str__(self) -> str:
return self.name.lower()


class ScalarUDFExportable(Protocol):
"""Type hint for object that has __datafusion_table_provider__ PyCapsule.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
"""Type hint for object that has __datafusion_table_provider__ PyCapsule.
"""Type hint for object that has __datafusion_scalar_udf__ PyCapsule.

class ScalarUDFExportable(Protocol):
"""Type hint for object that has __datafusion_table_provider__ PyCapsule.

https://datafusion.apache.org/python/user-guide/io/table_provider.html
Copy link
Contributor

Choose a reason for hiding this comment

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

Wrong link here

@timsaucer
Copy link
Contributor Author

Superseded by #1145

@timsaucer timsaucer closed this Jun 13, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants