-
Notifications
You must be signed in to change notification settings - Fork 17
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
enhance: optimize kv metadata and fix first large row group #142
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: shaoting-huang The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
0a9c4dd
to
16c0c90
Compare
Signed-off-by: shaoting-huang <[email protected]>
16c0c90
to
97a4936
Compare
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.
/lgtm
return Status::OK(); | ||
} | ||
|
||
int64_t ParquetFileWriter::count() { return count_; } | ||
|
||
Status ParquetFileWriter::Close() { | ||
std::stringstream ss; |
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.
Can we just write bytes rather than comma-separated-strings?
for (int i = 0; i < record->num_columns(); ++i) { | ||
std::shared_ptr<arrow::Array> column = record->column(i); | ||
if (!column) { | ||
throw std::runtime_error("Column is null"); |
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.
The error handling is supposed to be either exception or return value of type Result
, not both. BTW, I don't think it's necessary to check null here.
issue: #127