Alexey Serbin has submitted this change and it was merged. ( 
http://gerrit.cloudera.org:8080/21244 )

Change subject: KUDU-3518: Fix the unexpected scan predicate
......................................................................

KUDU-3518: Fix the unexpected scan predicate

With the changes introduced in a previous patch[1], there have been
reports of errors during scan operations. This patch fixes these
scan errors.

This patch removes NON-NULL predicates on primary columns implicitly
added by ScanSpec::LiftPrimaryKeyBounds(), calling
ScanSpec::OptimizeScan() while optimizing InList scan predicates at the
DRS level.  That's similar to what's done be optimizing the InList
predicates based on tablet PK bounds at a higher level.

The issue has been investigated and fixed in collaboration with Alexey
Serbin.

There will be follow-up patches to include tests of this failure.

[1] https://gerrit.cloudera.org/#/c/18434/

Change-Id: I220df7ec1b4f95726c913a19125f4647267d12b1
Reviewed-on: http://gerrit.cloudera.org:8080/21244
Reviewed-by: Alexey Serbin <[email protected]>
Tested-by: Alexey Serbin <[email protected]>
Reviewed-by: Yifan Zhang <[email protected]>
---
M src/kudu/tablet/cfile_set.cc
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Alexey Serbin: Looks good to me, but someone else must approve; Verified
  Yifan Zhang: Looks good to me, approved

--
To view, visit http://gerrit.cloudera.org:8080/21244
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I220df7ec1b4f95726c913a19125f4647267d12b1
Gerrit-Change-Number: 21244
Gerrit-PatchSet: 4
Gerrit-Owner: Abhishek Chennaka <[email protected]>
Gerrit-Reviewer: Abhishek Chennaka <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Mahesh Reddy <[email protected]>
Gerrit-Reviewer: Yifan Zhang <[email protected]>
Gerrit-Reviewer: Yingchun Lai <[email protected]>
Gerrit-Reviewer: Zoltan Chovan <[email protected]>

Reply via email to