-
Notifications
You must be signed in to change notification settings - Fork 191
PARQUET-1041: Support Arrow's NullArray #358
Conversation
|
cc @crepererum |
| case ::arrow::Type::NA: | ||
| *out = std::make_shared<::arrow::NullArray>(batch_size); | ||
| return Status::OK(); | ||
| break; |
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.
This break is unreachable, any reason to keep it?
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.
Yes, getting rid of compiler warnings.
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.
gotcha, I hadn't seen that before
| BSON, | ||
| INTERVAL | ||
| INTERVAL, | ||
| NA = 25 |
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.
Is this from parquet.thrift?
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.
Yes
wesm
left a comment
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, I will merge from #360 if the build passes, it is a rebased version with the Arrow version bumped
This also fixes a segmentation fault on reading a duplicate column.