Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Added Nulls getter to manipulate internal nulls on ColumnNullable #107

Merged
merged 1 commit into from
May 13, 2020
Merged

Added Nulls getter to manipulate internal nulls on ColumnNullable #107

merged 1 commit into from
May 13, 2020

Conversation

dgrr
Copy link
Contributor

@dgrr dgrr commented May 13, 2020

Hello,

This commit will allow the programmer to access the nulls_ column.
In my use case, I need to access the nulls too. This is a similar approach:

auto col = columns[0]->As<ColumnNullable>();
col->Nested()->As<ColumnString>()->Append(this->value);
col->Nulls()->As<ColumnUInt8>()->Append(!this->is_value_ok());

Thanks.

@artpaul artpaul merged commit 5b4ad3a into artpaul:master May 13, 2020
@artpaul
Copy link
Owner

artpaul commented May 13, 2020

Thanks!

@dgrr dgrr deleted the get_nulls_nullable branch May 13, 2020 15:12
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants