Andrew Wong has uploaded a new patch set (#2). Change subject: KUDU-1880 Prevent eager ignoring of NULLs ......................................................................
KUDU-1880 Prevent eager ignoring of NULLs During a nullable block scan, if a NULL set of cells is reached before the decoder evaluation is disabled (e.g. if the first rows in the block are NULL), the rows will be prematurely marked as not in the results set. If evaluating an IsNull predicate, this will yield erroneous results. This patch adds an API to the materialization context that indicates whether it is evaluating an IsNull predicate. If it is, the null rows must not be removed from the results set. Otherwise, null rows can be cleared immediately. Additional tablet unit tests are added to cover the IsNull case with NULL values at the beginning of columns for various types. These tests will fail without the fixes in the patch and pass with them. Change-Id: Ib418a4fcc2794ce2f686e864f51834fb4fb8b048 --- M src/kudu/cfile/cfile_reader.cc M src/kudu/common/column_materialization_context.h M src/kudu/common/partial_row.h M src/kudu/tablet/CMakeLists.txt A src/kudu/tablet/all_types-scan-correctness-test.cc 5 files changed, 314 insertions(+), 1 deletion(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/02/6202/2 -- To view, visit http://gerrit.cloudera.org:8080/6202 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: newpatchset Gerrit-Change-Id: Ib418a4fcc2794ce2f686e864f51834fb4fb8b048 Gerrit-PatchSet: 2 Gerrit-Project: kudu Gerrit-Branch: branch-1.2.x Gerrit-Owner: Andrew Wong <[email protected]> Gerrit-Reviewer: Kudu Jenkins
