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
ARROW-8593: [C++][Parquet] Fix build with musl libc #7038
Conversation
@kszucs would this be caught in a rehabilitated Alpine nightly build? |
@@ -346,12 +346,12 @@ TEST(TestBufferedRowGroupWriter, DisabledDictionary) { | |||
} | |||
|
|||
TEST(TestBufferedRowGroupWriter, MultiPageDisabledDictionary) { | |||
const int VALUE_COUNT = 10000; | |||
const int PAGE_SIZE = 16384; | |||
const int value_count = 10000; |
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.
small nit as long as you are changing this, these should probably be constexpr kValueCount, etc.
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.
And moved to constexpr while were at it.
@tobim, I do not have the rights to push-force on this branch. You can apply this locally:
|
00b34ab
to
176bc03
Compare
Thereby fixing a confilct with the `PAGE_SIZE` macro declared in the `limits.h` header that is shipped with musl libc.
176bc03
to
1cdc618
Compare
@fsaintjacques @emkornfield sorry for the long silence, I updated the commit as you suggested. |
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.
+1
Converts local constants in
file_serialize_test.cc
to snake_case.Fixes a confilct with the
PAGE_SIZE
macro declared in thelimits.h
header that is shipped with musl libc.