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

Cannot create empty Hive partition for non-bucketed table #104

Closed
electrum opened this issue Jan 29, 2019 · 1 comment
Closed

Cannot create empty Hive partition for non-bucketed table #104

electrum opened this issue Jan 29, 2019 · 1 comment
Labels
bug Something isn't working

Comments

@electrum
Copy link
Member

The system.create_empty_partition procedure fails because the source directory does not exist (no files were written) and thus the rename fails. SemiTransactionalHiveMetastore.Committer#prepareAddPartition should probably unconditionally create currentPath before checking if it is equal to targetPath.

@electrum electrum added the bug Something isn't working label Jan 29, 2019
@findepi
Copy link
Member

findepi commented Jan 30, 2019

related @wenleix's comment: #99 (comment)

I believe the first commit ("Fix creating non-bucketed empty partition") should be replaced by prestodb/presto#12204 . cc @electrum

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

2 participants