-
Notifications
You must be signed in to change notification settings - Fork 169
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
fix: ColumnReader.loadVector
should initiate CometDictionary
after re-import arrays
#473
Conversation
cc @sunchao |
…r re-import arrays
377982a
to
9a2a851
Compare
CometPlainVector dictionaryVector = | ||
new CometPlainVector(arrowDictionary.getVector(), useDecimal128, isUuid); | ||
dictionary = new CometDictionary(dictionaryVector); | ||
|
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 test failure is in TPCDSQuerySuite in #437. I don't have a simple reproducible test case for it. But I think the change is straightforward and safe.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #473 +/- ##
=========================================
Coverage 34.05% 34.05%
Complexity 859 859
=========================================
Files 116 116
Lines 38680 38679 -1
Branches 8568 8567 -1
=========================================
Hits 13171 13171
+ Misses 22746 22745 -1
Partials 2763 2763 ☔ View full report in Codecov by Sentry. |
Merged. Thanks @andygrove @sunchao |
@viirya Just fyi, this commit caused a large regression for me in local runs of TPC-H. I will share full details tomorrow. beforeafter |
I got the reason why it has regression. I will propose a fix. |
…r re-import arrays (apache#473) (cherry picked from commit 5bfe46d)
Which issue does this PR close?
Closes #474.
Rationale for this change
What changes are included in this PR?
How are these changes tested?