Repository navigation
ORC-1767: [C++] Improve writing performance of encoded string column and support EncodedStringVectorBatch for StringColumnWriter - #16
Conversation
…and support EncodedStringVectorBatch for StringColumnWriter Improve writing performance of encoded string column and support EncodedStringVectorBatch for StringColumnWriter. Performance was measured in ClickHouse#15 original tests. Closes apache#2010 from taiyang-li/apache_improve_dict_write. Lead-authored-by: taiyang-li <654010905@qq.com> Co-authored-by: 李扬 <654010905@qq.com> Signed-off-by: ffacs <ffacs520@gmail.com>
4db0581 to
9c3ad23
Compare
|
@alexey-milovidov can you help review it ? Thanks! |
|
i don't think cherry-picking is the right approach. we're better to maintain |
|
I tried, but there are so many conflicts after rebase ClickHouse main branch on apache main branch. I'm curious how it is done before? If we want to sync from upstream, which is preferred, |
i made an attempt here: ClickHouse/ClickHouse#69473 |
|
@nickitat Thanks, but I'm afraid your example doesn't really solve the problems I met. It need to solve so many conflicts if you want to sync ClickHouse/orc with upstream apache/orc. |
contrib reset to a new commit that is upstream/main plus one our commit (two other no longer needed). |
It will cause a lot of conflicts. Fixing them is nearly impossible. Cherry pick is a good idea if there are not too many commits of our own. BTW, which commits that are not contributed to upstream need to be cherry picked ? |
what i'm saying is that i did this exercise yesterday. the only conflicting files were you may see here that from our own commits only one (yours) was preserved after rebase. the other two contained upstreamed fixes.
so i don't think we have any problems with the conflicts. only with tests |
|
duplicated with #17 |

What changes were proposed in this pull request?
ORC-1767: [C++] Improve writing performance of encoded string column and support EncodedStringVectorBatch for StringColumnWriter
Chery pick commit in apache/orc main branch: apache@97a3797
Why are the changes needed?
How was this patch tested?