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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Write homogenous partitions from the partition transformer #2277
Conversation
d221b48
to
ac94034
Compare
363ff9e
to
b42dba9
Compare
77ba623
to
84d4f22
Compare
84d4f22
to
925509b
Compare
925509b
to
fea5ff3
Compare
This changes the partition transformer to write not just one output partition but rather a separate partition for every output type. In general the logic is "all-or-nothing", ie. the partition transformer returns an error if a single output partition fails to be persisted to disk. This has a number of downstream implications, in particular the index now also returns a vector of new partition infos and the catalog has been expanded with a few bulk handlers.
On systems where `python` points to Python 2 by default, using a mixture of calls to `python` and `python3` leads to an inconsistent environment missing required dependencies.
fea5ff3
to
eba7c29
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few additional questions. I think this only needs a little polish now (and maybe a fix for the serialization data if I understand the code correctly).
f1eb482
to
0b77acf
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's great that this is fixed now. Only the test needs to use the VAST_FMT_RUNTIME macro fix.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The new changes look ok as far as I can assess them right now.
I'm not sure if possible at the moment but we should add an integration test for this at some time.
23b3feb
to
93456ef
Compare
It's possible but really ugly at the moment; see the compaction tests. This will become much easier when we have the |
Co-authored-by: Gy艖z艖 G谩sp谩r <gyozo.gaspar@tenzir.com>
abde549
to
d7bcfa9
Compare
Co-authored-by: Gy艖z艖 G谩sp谩r <gyozo.gaspar@tenzir.com>
d7bcfa9
to
9acd287
Compare
Ensure that the partition transformer always produces uniform partitions, ie. partitions that only contain a single type.
馃摑 Checklist
馃幆 Review Instructions
Mainly look at commit 38a4729 , ideally run locally and see that it produces multiple partitions.