Fix incorrect $bucket for mismatch bucket queries#11885
Fix incorrect $bucket for mismatch bucket queries#11885arhimondr merged 1 commit intotrinodb:masterfrom
Conversation
3580a93 to
f78d3a1
Compare
There was a problem hiding this comment.
Is this testable with smaller tables?
Like nation with bucketing on nationkey?
There was a problem hiding this comment.
nit: the try-finally isn't really needed in this class, since all the test data is ephemeral anyway
There was a problem hiding this comment.
Removed the try-finally
There was a problem hiding this comment.
nit: \n are redundant, replace with spaces so that it's more readable
3ce8645 to
185deca
Compare
|
Hi @arhimondr, Can you please have a look? |
There was a problem hiding this comment.
Could you please open a follow up PR dropping the HivePartitioningHandle#maxCompatibleBucketCount. Currently it is effectively unused as number of read buckets higher than number of table buckets is no longer supported.
|
@oraclechang Could you please rebase and resubmit to make sure it compiles on Trunk. I will merge once the build is green. |
185deca to
9adf088
Compare
Comparable change: prestodb/presto#12429
This change allows executing queries with the following conditions. Currently, these queries will raise an exception.
A more specific example can be seen in the
testMismatchedBucketWithBucketPredicate()test.