-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
refactor(parquet): Use velox parquet reader in Metadatatest #11472
base: main
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for meta-velox canceled.
|
4af254d
to
c97061c
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.
@jkhaliqi can you move the file from arrow tests to here so that we can only see the Velox specific changes?
d62718d
to
495598e
Compare
8aa9724
to
85013aa
Compare
287d618
to
d5f7423
Compare
d5f7423
to
ece201e
Compare
abc8f1d
to
c862477
Compare
4642cc1
to
38f48d1
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.
I see the usage of ParquetFileWriter
which is from the Arrow library. We should be able to use the Velox writer for testing.
Can we move the changes in StaticsticsTest.cpp
to a followup PR? That will make the review easy and minimal. Thanks.
velox/dwio/parquet/reader/Metadata.h
Outdated
@@ -18,6 +18,7 @@ | |||
|
|||
#include "velox/dwio/common/Statistics.h" | |||
#include "velox/dwio/common/compression/Compression.h" | |||
#include "velox/dwio/parquet/thrift/ParquetThriftTypes.h" |
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.
remove this.
#include "velox/dwio/parquet/reader/ParquetReader.h" | ||
#include "velox/exec/tests/utils/TempFilePath.h" | ||
|
||
#include <arrow/io/api.h> |
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.
We should not need this #include "arrow/util/key_value_metadata.h"
above as well.
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.
Looks like the above #include "arrow/util/key_value_metadata.h"
is used for a test with the arrow writer. Since this PR is focusing on refactoring the arrow reader to parquet reader (issue). Should it be fine to leave it for now, and change it when a refactor for the arrow writer to velox writer happens?
f725aa9
to
dde2063
Compare
dde2063
to
5debd1a
Compare
No description provided.