8000 Add Parquet Upload Support to create_dataset() by meghan-joshi · Pull Request #1399 · openml/openml-python · GitHub
[go: up one dir, main page]

Skip to content

Add Parquet Upload Support to create_dataset() #1399

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 4 commits into from

Conversation

meghan-joshi
Copy link
@meghan-joshi meghan-joshi commented Apr 24, 2025

This PR adds support for uploading .parquet files via the create_dataset() function in the OpenML Python client.

  • Adds a parquet_path argument to create_dataset
  • Uses MinIO-compatible upload with correct content-type
  • Preserves backward compatibility with ARFF upload
  • Metadata now includes dataset format ("parquet" or "arff")
  • Includes a unit test for Parquet upload

Closes #1141.

cc: @PGijsbers @mfeurer

Copy link
Collaborator
@PGijsbers PGijsbers left a comment

Choose a reason for hiding this comment

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

Sorry for the delay, and thanks for taking the time to contribute :)

The OpenML server currently does not yet support direct uploading for parquet files.
While it would be nice to have preparation for support already present, we cannot accept the current PR because of a number of problems:

  • It seems to delete much of the dataset class
  • It deletes entire test modules
  • It includes git files

Because of these reasons, I'm closing the PR. We'd be happy to help you get started on more appropriate issue - just let us know :)

@PGijsbers PGijsbers closed this Jun 16, 2025
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.

Upload datasets in parquet
2 participants
0