[
https://issues.apache.org/jira/browse/KUDU-3384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17569460#comment-17569460
]
ASF subversion and git services commented on KUDU-3384:
-------------------------------------------------------
Commit 1bde51fa0d5800ee76160258a8e879f7cce66a75 in kudu's branch
refs/heads/master from zhangyifan27
[ https://gitbox.apache.org/repos/asf?p=kudu.git;h=1bde51fa0 ]
KUDU-3384: Handling IncrementEncodedKey failure
While using lower/upper of a DRS to optimize scan at DRS level, we
should handle the cases where a upper bound key cannot be incremented.
This patch fixes it, enables the reproduction scenario and also adds
a regression test.
Change-Id: I22c48f9893364c3fad5597431e4acfbcb2a4b43d
Reviewed-on: http://gerrit.cloudera.org:8080/18761
Tested-by: Alexey Serbin <[email protected]>
Reviewed-by: Alexey Serbin <[email protected]>
> DRS-level scan optimization leads to failed scans
> -------------------------------------------------
>
> Key: KUDU-3384
> URL: https://issues.apache.org/jira/browse/KUDU-3384
> Project: Kudu
> Issue Type: Bug
> Components: tserver
> Affects Versions: 1.17.0
> Reporter: Alexey Serbin
> Assignee: YifanZhang
> Priority: Major
>
> Recently, a new DRS-level optimization for scan operations has been
> introduced with changelist
> [936d7edc4|https://github.com/apache/kudu/commit/936d7edc4e4b69d2e1f1dffc96760cb3fd57a934].
> The newly introduced DRS-level optimization leads to scan failures when all
> of the following turns true:
> * all the primary key columns are of integer types
> * the table has no hash partitioning
> * the table contains a row with all primary key columns set to
> {{INT\{x}_MAX}} correspondingly
> * the scan request is to scan all the table's data
> I suspect that some of the conditions above might be relaxed, but I have a
> test case that reproduces the issue as described. See [this gerrit review
> item|http://gerrit.cloudera.org:8080/18757] for the reproduction scenario.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)