-
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
Add support to read varbinary column from Parquet fixed length byte array #9887
Add support to read varbinary column from Parquet fixed length byte array #9887
Conversation
✅ Deploy Preview for meta-velox canceled.
|
7681904
to
cb13fbe
Compare
cb13fbe
to
35199e3
Compare
ee0e977
to
61e0667
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.
LGTM. Thanks for the 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.
LGTM just some nits.
|
||
lastSafeWord_(end - simd::kPadding) {} | ||
StringDecoder(const char* start, const char* end, int length) |
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.
nit: Just set default value -1 for length parameter and no need to add a second constructor.
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.
fixed
const char* bufferStart_; | ||
const char* bufferEnd_; | ||
const char* const lastSafeWord_; | ||
const int length_; |
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.
can we rename it to fixedLength_ to distinguish between the local var length
in readString()
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.
fixed
6c6402b
to
e0a21df
Compare
@mbasmanova has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Seeing test failure:
|
@mbasmanova, The CI test passed. The test passes locally as well. The file being empty is strange since I can see that the file is not empty in this PR. Likely the file did not download correctly in the Meta test infrastructure. Can you please check again? |
@mbasmanova has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
@majetideepak Deepak, I'm seeing that after importing this PR, the new file varbinary_flba.parquet is empty. I'll need some time to figure out why this is happening and how to fix that. |
@mbasmanova merged this pull request in 188f5b9. |
Conbench analyzed the 1 benchmark run on commit There were no benchmark performance regressions. 🎉 The full Conbench report has more details. |
…rray (facebookincubator#9887) Summary: Resolves: facebookincubator#9757 Pull Request resolved: facebookincubator#9887 Reviewed By: Yuhta, kgpai Differential Revision: D57776408 Pulled By: mbasmanova fbshipit-source-id: 9a282b68be810b1b99391105157b0777db7e568f
…rray (facebookincubator#9887) Summary: Resolves: facebookincubator#9757 Pull Request resolved: facebookincubator#9887 Reviewed By: Yuhta, kgpai Differential Revision: D57776408 Pulled By: mbasmanova fbshipit-source-id: 9a282b68be810b1b99391105157b0777db7e568f
Resolves: #9757