Skip to content

Add catalog write modes #2365

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

Merged
merged 1 commit into from
Feb 27, 2025
Merged

Add catalog write modes #2365

merged 1 commit into from
Feb 27, 2025

Conversation

faysou
Copy link
Collaborator

@faysou faysou commented Feb 26, 2025

Pull Request

Add "new_file" catalog write mode

  • Allows to append data to a catalog by creating a new file when using write_data without the partitioning optional argument , which uses the _fast_write function
  • Also modified the update_catalog argument of data requests in actors to update_catalog_mode so a catalog write mode can be passed as argument
  • Can be useful if you have data of various quality types and don't want to take the risk to degrade the quality of some existing data by appending/concatenating new data

Type of change

  • New feature (non-breaking change which adds functionality)

How has this change been tested?

Added a test, also tested with own code

@faysou faysou changed the title Add "new_file" catalog write mode Add NEWFILE catalog write mode Feb 26, 2025
@faysou faysou changed the title Add NEWFILE catalog write mode Add "new file" catalog write mode Feb 26, 2025
Copy link
Member

@cjdsellers cjdsellers left a comment

Choose a reason for hiding this comment

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

👌

@cjdsellers cjdsellers changed the title Add "new file" catalog write mode Add catalog write modes Feb 27, 2025
@cjdsellers cjdsellers merged commit 2e6168a into develop Feb 27, 2025
12 checks passed
@cjdsellers cjdsellers deleted the new_file_catalog branch February 27, 2025 00:40
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.

2 participants