[Vectorized][Feature] support query into outfile in vec mode#8525
Closed
zhangstar333 wants to merge 1 commit intoapache:masterfrom
Closed
[Vectorized][Feature] support query into outfile in vec mode#8525zhangstar333 wants to merge 1 commit intoapache:masterfrom
zhangstar333 wants to merge 1 commit intoapache:masterfrom
Conversation
Member
|
hope it get fixed soon. outfile feature is not working in doris 1.0.0 and throws error "Not support send block" now |
yiguolei
reviewed
May 5, 2022
| } | ||
|
|
||
| Status ParquetWriterWrapper::_write_one_row(vectorized::Block& block, size_t row) { | ||
| int num_columns = _output_vexpr_ctxs->size(); |
Contributor
There was a problem hiding this comment.
It's better to write a util method to convert vectorized::Block to arrow::RecordBatch, and then write to file stream block by block.
Some code could be find in be/src/util/arrow/row_block.h
Contributor
Author
There was a problem hiding this comment.
Now this implementation is based on row, the performance may not be good, so it need to be change write data by column after have another plan about vectorized.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposed changes
Issue Number: close #8524
Problem Summary:
Describe the overview of changes.
Checklist(Required)
Further comments
If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...