Skip to content

Added Nulls getter to manipulate internal nulls on ColumnNullable#107

Merged
artpaul merged 1 commit intoartpaul:masterfrom
dgrr:get_nulls_nullable
May 13, 2020
Merged

Added Nulls getter to manipulate internal nulls on ColumnNullable#107
artpaul merged 1 commit intoartpaul:masterfrom
dgrr:get_nulls_nullable

Conversation

@dgrr
Copy link
Copy Markdown
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
Copy Markdown
Owner

artpaul commented May 13, 2020

Thanks!

@dgrr dgrr deleted the get_nulls_nullable branch May 13, 2020 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants