Skip to content
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

to_json with partition columns #962

Closed
islandereleven opened this issue Oct 18, 2021 · 2 comments
Closed

to_json with partition columns #962

islandereleven opened this issue Oct 18, 2021 · 2 comments
Assignees
Labels
enhancement New feature or request minor release Will be addressed in the next minor release ready to release
Milestone

Comments

@islandereleven
Copy link

I would like to migrate large amounts of non sanitized data in an orderly fashion as partitioned json files.

Would it be possible to mimic the awswrangler.s3.to_parquet partition_cols parameter in awswrangler.s3.to_json

related https://stackoverflow.com/questions/64275874/how-to-save-pandas-dataframe-into-partitioned-json

@islandereleven islandereleven added the enhancement New feature or request label Oct 18, 2021
@kukushking
Copy link
Contributor

Hi @islandereleven, thats a fair ask - I'll add partitioning to awswrangler.s3.to_json. Thanks

@kukushking kukushking added minor release Will be addressed in the next minor release ready to release labels Nov 2, 2021
@kukushking kukushking added this to the 2.13.0 milestone Nov 2, 2021
@kukushking
Copy link
Contributor

Hi @islandereleven - added. You can try it out now by installing from the trunk like below:

pip uninstall awswrangler -y
pip install git+https:/awslabs/aws-data-wrangler.git@main

The feature will be included with the next release. Feel free to reopen if any questions!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request minor release Will be addressed in the next minor release ready to release
Projects
None yet
Development

No branches or pull requests

2 participants