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:27 UTC

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

Disabled LIP 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/e3d2aa1d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/tree/e3d2aa1d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/diff/e3d2aa1d

Branch: refs/heads/reorder-partitioned-hash-join
Commit: e3d2aa1dd736492cbb096c293dad1ad1ec17cad4
Parents: 686bbb5
Author: Zuyu Zhang <zu...@apache.org>
Authored: Sun Mar 5 02:27:07 2017 -0800
Committer: Zuyu Zhang <zu...@apache.org>
Committed: Sun Mar 5 02:27:07 2017 -0800

----------------------------------------------------------------------
 cli/distributed/QuickstepDistributedCli.cpp | 12 ++++++++++++
 1 file changed, 12 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/e3d2aa1d/cli/distributed/QuickstepDistributedCli.cpp
----------------------------------------------------------------------
diff --git a/cli/distributed/QuickstepDistributedCli.cpp b/cli/distributed/QuickstepDistributedCli.cpp
index b7edd83..08443cd 100644
--- a/cli/distributed/QuickstepDistributedCli.cpp
+++ b/cli/distributed/QuickstepDistributedCli.cpp
@@ -35,6 +35,12 @@
 using std::make_unique;
 
 namespace quickstep {
+namespace optimizer {
+
+DECLARE_bool(use_lip_filters);
+DECLARE_bool(use_filter_joins);
+
+}  // namespace optimizer
 
 constexpr char kCliRole[] = "cli";
 constexpr char kConductorRole[] = "conductor";
@@ -62,6 +68,12 @@ using quickstep::FLAGS_role;
 
 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;
+
   gflags::ParseCommandLineFlags(&argc, &argv, true);
   grpc_init();