Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Conversation

@jordanyakerirt
Copy link

@jordanyakerirt jordanyakerirt commented Nov 22, 2024

Description

What is the current behavior?

The current implementation of the export_to_file operator doesn't provide any mechanism for overriding or customizing the behavior of the file output. Instead the operator simply calls one of a number of Pandas.DataFrame.to_* functions with default functions that SDK users are locked in to.

closes: #2195

What is the new behavior?

This modification allows for the provision of a configuration dictionary that enables the customizing or overriding of the file write behavior by passing the parameters to the FileType.create_from_dataframe implementation.

Does this introduce a breaking change?

This is a non-breaking change since the export_options dictionary is completely optional.

Checklist

  • Created tests which fail without the change (if possible)
  • Extended the README / documentation, if necessary

@jordanyakerirt jordanyakerirt force-pushed the add-export-options-to-export_to_file branch 3 times, most recently from fdb1843 to 64cb781 Compare November 22, 2024 17:08
The current implementation of the export_to_file operator doesn't provide any mechanism for overriding or customizing the behavior of the file output. Instead the operator simply calls one of a number of Pandas.DataFrame.to_* functions with default functions that SDK users are locked in to.

This modification allows for the provision of a configuration dictionary that enables the customizing or overriding of the file write behavior by passing the parameters to the FileType.create_from_dataframe implementation.
@jordanyakerirt jordanyakerirt force-pushed the add-export-options-to-export_to_file branch from b3341c8 to fece91a Compare November 22, 2024 21:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow Customizing File Write Behavior of export_to_file Operator

1 participant