You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@quickstep.apache.org by zu...@apache.org on 2017/03/06 20:18:08 UTC

[11/38] incubator-quickstep git commit: Disabled LIP optimization in the distributed version due to QUICKSTEP-76.

Disabled LIP optimization in the distributed version due to QUICKSTEP-76.


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

Branch: refs/heads/reorder-partitioned-hash-join
Commit: def08ced76d9ac197e9745280bd019dd500d8746
Parents: f4f5ca0
Author: Zuyu Zhang <zu...@apache.org>
Authored: Fri Feb 24 13:34:49 2017 -0800
Committer: Zuyu Zhang <zu...@apache.org>
Committed: Fri Feb 24 13:34:49 2017 -0800

----------------------------------------------------------------------
 .../tests/DistributedExecutionGeneratorTest.cpp      | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/def08ced/query_optimizer/tests/DistributedExecutionGeneratorTest.cpp
----------------------------------------------------------------------
diff --git a/query_optimizer/tests/DistributedExecutionGeneratorTest.cpp b/query_optimizer/tests/DistributedExecutionGeneratorTest.cpp
index af310bc..1e2120e 100644
--- a/query_optimizer/tests/DistributedExecutionGeneratorTest.cpp
+++ b/query_optimizer/tests/DistributedExecutionGeneratorTest.cpp
@@ -28,12 +28,27 @@
 #include "glog/logging.h"
 #include "gtest/gtest.h"
 
+namespace quickstep {
+namespace optimizer {
+
+DECLARE_bool(use_lip_filters);
+DECLARE_bool(use_filter_joins);
+
+}  // namespace optimizer
+}  // namespace quickstep
+
 using quickstep::TextBasedTest;
 
 QUICKSTEP_GENERATE_TEXT_TEST(DISTRIBUTED_EXECUTION_GENERATOR_TEST);
 
 int main(int argc, char** argv) {
   google::InitGoogleLogging(argv[0]);
+
+  // TODO(quickstep-team): Fix JIRA QUICKSTEP-76 for adding LIP filter support
+  // in the distributed version.
+  quickstep::optimizer::FLAGS_use_lip_filters = false;
+  quickstep::optimizer::FLAGS_use_filter_joins = false;
+
   // Honor FLAGS_buffer_pool_slots in StorageManager.
   gflags::ParseCommandLineFlags(&argc, &argv, true);