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

Plain encoding supports writing boolean array #120

Merged
merged 6 commits into from
Aug 22, 2022

Conversation

eddyxu
Copy link
Contributor

@eddyxu eddyxu commented Aug 20, 2022

Closes #114

@eddyxu eddyxu requested a review from changhiskhan August 20, 2022 18:41
@eddyxu eddyxu self-assigned this Aug 20, 2022
@eddyxu eddyxu added enhancement New feature or request c++ C++ issues labels Aug 20, 2022
const std::shared_ptr<::arrow::BooleanArray>& arr) {
// TODO: Boolean array is not necessarily aligned with the byte boundary:
// See ::arrow::BooleanArray::Value(int64)
// Is there a faster way to write / shift the boolean array?
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would any of the bit packing / unpacking utilities from Arrow work? https://github.com/apache/arrow/tree/master/cpp/src/arrow/util

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. will keep looking it in following PRs

@eddyxu eddyxu merged commit 4a977c5 into main Aug 22, 2022
@eddyxu eddyxu deleted the lei/boolean_plain_encoding branch August 22, 2022 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c++ C++ issues enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot write bool column
2 participants