Will Berkeley has uploaded a new change for review.

  http://gerrit.cloudera.org:8080/3300

Change subject: KUDU-1446 Consider data types in predicate evaluation order
......................................................................

KUDU-1446 Consider data types in predicate evaluation order

This patch enhances SelectivityRank() in column_predicate.cc to account for
column type. Predicate type dominates column type for the sort, and a predicate
on a column of a small type will sort before a predicate on a column of larger
(or variable-size) type.

It also adds a small test for selectivity comparison.

Change-Id: Ic20cf9d574b2e5f80c7ab3b1a5c4569415dc1d4d
---
M src/kudu/common/column_predicate-test.cc
M src/kudu/common/column_predicate.cc
2 files changed, 49 insertions(+), 5 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/00/3300/1
-- 
To view, visit http://gerrit.cloudera.org:8080/3300
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic20cf9d574b2e5f80c7ab3b1a5c4569415dc1d4d
Gerrit-PatchSet: 1
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Will Berkeley <wdberke...@gmail.com>

Reply via email to