Skip to content

DataSet parition ID to URL user defined function #9527

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

Closed
wants to merge 33 commits into from

Conversation

timsaucer
Copy link
Contributor

@timsaucer timsaucer commented Apr 7, 2025

Related

Demo 25-04

What

This adds a udf that can be used thusly:

import datafusion as dfn
url_from_id = dfn.udf(dataset.partition_url_udf,  pa.utf8(), pa.utf8(), 'stable')
df = df.with_column("partition_url", url_from_id(df.col("rerun_partition_id")))

@timsaucer
Copy link
Contributor Author

Superseded by #9530

@timsaucer timsaucer closed this Apr 7, 2025
@timsaucer timsaucer deleted the tsaucer/dataset_url_udf branch April 7, 2025 15:41
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.

5 participants