fix: correct target deletion path in merge_datasets for root dataset files (#3430)
fix: correct target deletion path in merge_datasets for root dataset files
fix: avoid recursive delete of target root in overwrite_partitions
A source root file (e.g. _SUCCESS) was adding target_path/ to the deletion set, so delete_objects wiped partitions not present in the source. List and delete only keys directly at the dataset root.
test(s3): cover merge_datasets root-file scope in overwrite_partitions
test(s3): give the merge_datasets root-scope test its own prefix
The module-scoped moto_aws fixture keeps moto state alive across tests, so objects that earlier tests wrote under bucket/target/ leaked into this test’s listing and failed it in CI.
Co-authored-by: kukushking kukushkin.anton@gmail.com
版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9
京公网安备 11010802047560号
AWS SDK for pandas (awswrangler)
Pandas on AWS
Easy integration with Athena, Glue, Redshift, Timestream, OpenSearch, Neptune, QuickSight, Chime, CloudWatchLogs, DynamoDB, EMR, SecretManager, PostgreSQL, MySQL, SQLServer and S3 (Parquet, CSV, JSON and EXCEL).
pip install awswranglerconda install -c conda-forge awswranglerTable of contents
Quick Start
Installation command:
pip install awswranglerAt scale
AWS SDK for pandas can also run your workflows at scale by leveraging Modin and Ray. Both projects aim to speed up data workloads by distributing processing over a cluster of workers.
Read our docs or head to our latest tutorials to learn more.
Read The Docs
Getting Help
The best way to interact with our team is through GitHub. You can open an issue and choose from one of our templates for bug reports, feature requests… You may also find help on these community resources:
awswranglerLogging
Enabling internal logging examples:
Into AWS lambda: