quickstep-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jianq...@apache.org
Subject [1/3] incubator-quickstep git commit: Some updates for large data
Date Wed, 16 May 2018 19:44:33 GMT
Repository: incubator-quickstep
Updated Branches:
  refs/heads/trace ba16c5aef -> f477c5d31


Some updates for large data


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

Branch: refs/heads/trace
Commit: 56e0a4ed70ce0fdefae18fb96bc04e830aface93
Parents: ba16c5a
Author: jianqiao <jianqiao@node-2.jianqiao-qv36188.quickstep-pg0.wisc.cloudlab.us>
Authored: Fri Apr 27 13:00:00 2018 -0500
Committer: jianqiao <jianqiao@node-2.jianqiao-qv36188.quickstep-pg0.wisc.cloudlab.us>
Committed: Fri Apr 27 13:00:00 2018 -0500

----------------------------------------------------------------------
 query_execution/WorkOrdersContainer.hpp | 3 +++
 query_optimizer/ExecutionGenerator.cpp  | 2 ++
 2 files changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/56e0a4ed/query_execution/WorkOrdersContainer.hpp
----------------------------------------------------------------------
diff --git a/query_execution/WorkOrdersContainer.hpp b/query_execution/WorkOrdersContainer.hpp
index 3c2d9bf..431a270 100644
--- a/query_execution/WorkOrdersContainer.hpp
+++ b/query_execution/WorkOrdersContainer.hpp
@@ -21,6 +21,7 @@
 #define QUICKSTEP_QUERY_EXECUTION_WORKORDERS_CONTAINER_HPP_
 
 #include <cstddef>
+#include <iostream>
 #include <list>
 #include <memory>
 #include <queue>
@@ -361,6 +362,8 @@ class WorkOrdersContainer {
         return nullptr;
       }
 
+      std::cerr << "# work orders: " << workorders_.size() << "       
\r";
+
       WorkOrder *work_order = workorders_.front().release();
       workorders_.pop();
       return work_order;

http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/56e0a4ed/query_optimizer/ExecutionGenerator.cpp
----------------------------------------------------------------------
diff --git a/query_optimizer/ExecutionGenerator.cpp b/query_optimizer/ExecutionGenerator.cpp
index dede95d..8ca367b 100644
--- a/query_optimizer/ExecutionGenerator.cpp
+++ b/query_optimizer/ExecutionGenerator.cpp
@@ -1484,6 +1484,7 @@ void ExecutionGenerator::convertInsertSelection(
 
   // FIXME(qzeng): A better way is using a traits struct to look up whether a storage
   //               block supports ad-hoc insertion instead of hard-coding the block types.
+/*
   const StorageBlockLayout &storage_block_layout =
       destination_relation.getDefaultStorageBlockLayout();
   if (storage_block_layout.getDescription().tuple_store_description().sub_block_type() ==
@@ -1494,6 +1495,7 @@ void ExecutionGenerator::convertInsertSelection(
                       << destination_relation.getName()
                       << ", because its storage blocks do not support ad-hoc insertion";
   }
+*/
 
   // Create InsertDestination proto.
   const QueryContext::insert_destination_id insert_destination_index =


Mime
View raw message