kudu-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aw...@apache.org
Subject [1/2] kudu git commit: cfile_set-test: fix broken test
Date Fri, 12 Oct 2018 05:38:13 GMT
Repository: kudu
Updated Branches:
  refs/heads/master 8af288a26 -> bc817a448


cfile_set-test: fix broken test

Commit 8af288a26a204e2acfc3aa4e642fba7de56b43bb hadn't been rebased
recently before submitting, so it lost out on some things.

Change-Id: I41f2dca5a113be5e5c29fae57a7174d1c98c760d
Reviewed-on: http://gerrit.cloudera.org:8080/11664
Tested-by: Kudu Jenkins
Reviewed-by: Hao Hao <hao.hao@cloudera.com>


Project: http://git-wip-us.apache.org/repos/asf/kudu/repo
Commit: http://git-wip-us.apache.org/repos/asf/kudu/commit/fdc215c8
Tree: http://git-wip-us.apache.org/repos/asf/kudu/tree/fdc215c8
Diff: http://git-wip-us.apache.org/repos/asf/kudu/diff/fdc215c8

Branch: refs/heads/master
Commit: fdc215c84bfc7b7bf04153c346a1191ebea3e0b5
Parents: 8af288a
Author: Andrew Wong <awong@cloudera.com>
Authored: Thu Oct 11 20:49:07 2018 -0700
Committer: Andrew Wong <awong@cloudera.com>
Committed: Fri Oct 12 05:34:28 2018 +0000

----------------------------------------------------------------------
 src/kudu/tablet/cfile_set-test.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kudu/blob/fdc215c8/src/kudu/tablet/cfile_set-test.cc
----------------------------------------------------------------------
diff --git a/src/kudu/tablet/cfile_set-test.cc b/src/kudu/tablet/cfile_set-test.cc
index 4ccdb17..fc99c66 100644
--- a/src/kudu/tablet/cfile_set-test.cc
+++ b/src/kudu/tablet/cfile_set-test.cc
@@ -215,7 +215,7 @@ class TestCFileSet : public KuduRowSetTest {
                              vector<size_t> target) {
     LOG(INFO) << "predicates size: " << predicates.size();
     // Create iterator.
-    shared_ptr<CFileSet::Iterator> cfile_iter(fileset->NewIterator(&schema_));
+    shared_ptr<CFileSet::Iterator> cfile_iter(fileset->NewIterator(&schema_,
nullptr));
     gscoped_ptr<RowwiseIterator> iter(new MaterializingIterator(cfile_iter));
     LOG(INFO) << "Target size: " << target.size();
     // Create a scan with a range predicate on the key column.
@@ -499,7 +499,7 @@ TEST_F(TestCFileSet, TestBloomFilterPredicates) {
                        &ret1_contain, &ret1_exclude, &ret2_contain, &ret2_exclude);
 
   shared_ptr<CFileSet> fileset;
-  ASSERT_OK(CFileSet::Open(rowset_meta_, MemTracker::GetRootTracker(), &fileset));
+  ASSERT_OK(CFileSet::Open(rowset_meta_, MemTracker::GetRootTracker(), nullptr, &fileset));
 
   vector<ColumnPredicate::BloomFilterInner> bfs;
   // BloomFilter of column 0 contain.


Mime
View raw message