You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@quickstep.apache.org by ji...@apache.org on 2016/06/07 17:25:36 UTC
[06/12] incubator-quickstep git commit: Merge branch 'master' into
query-id-operator-workorder
Merge branch 'master' into query-id-operator-workorder
Project: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/commit/07127077
Tree: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/tree/07127077
Diff: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/diff/07127077
Branch: refs/heads/master
Commit: 0712707724f0632fc076cfbd69fffc5aae8aecdd
Parents: d2841af bf9150e
Author: Harshad Deshmukh <hb...@apache.org>
Authored: Sat Jun 4 17:55:40 2016 -0500
Committer: Harshad Deshmukh <hb...@apache.org>
Committed: Sat Jun 4 17:55:40 2016 -0500
----------------------------------------------------------------------
.travis.yml | 4 +-
CMakeLists.txt | 17 +-
DISCLAIMER | 11 +
README.md | 25 +-
catalog/CMakeLists.txt | 11 +
catalog/Catalog.proto | 13 +-
catalog/CatalogRelation.cpp | 11 +
catalog/CatalogRelation.hpp | 43 +-
catalog/CatalogRelationStatistics.cpp | 49 +
catalog/CatalogRelationStatistics.hpp | 122 +
cli/CMakeLists.txt | 23 +-
cli/CommandExecutor.cpp | 171 +-
cli/CommandExecutor.hpp | 21 +-
cli/DefaultsConfigurator.hpp | 16 +
cli/InputParserUtil.cpp | 1 +
cli/PrintToScreen.cpp | 33 +
cli/PrintToScreen.hpp | 31 +
cli/QuickstepCli.cpp | 34 +-
cli/tests/CommandExecutorTestRunner.cpp | 3 +
cli/tests/command_executor/D.test | 35 +-
cli/tests/command_executor/Dt.test | 36 +-
.../aggregation/AggregationConcreteHandle.hpp | 105 +
expressions/aggregation/AggregationHandle.hpp | 15 +-
.../aggregation/AggregationHandleAvg.cpp | 9 +
.../aggregation/AggregationHandleAvg.hpp | 4 +
.../aggregation/AggregationHandleCount.cpp | 11 +
.../aggregation/AggregationHandleCount.hpp | 4 +
.../aggregation/AggregationHandleDistinct.hpp | 7 +
.../aggregation/AggregationHandleMax.cpp | 9 +
.../aggregation/AggregationHandleMax.hpp | 4 +
.../aggregation/AggregationHandleMin.cpp | 9 +
.../aggregation/AggregationHandleMin.hpp | 4 +
.../aggregation/AggregationHandleSum.cpp | 9 +
.../aggregation/AggregationHandleSum.hpp | 4 +
expressions/aggregation/CMakeLists.txt | 2 +
.../tests/AggregationHandleAvg_unittest.cpp | 109 +
.../tests/AggregationHandleCount_unittest.cpp | 126 +-
.../tests/AggregationHandleMax_unittest.cpp | 122 +
.../tests/AggregationHandleMin_unittest.cpp | 121 +
.../tests/AggregationHandleSum_unittest.cpp | 124 +
parser/ParseBasicExpressions.cpp | 31 +
parser/ParseBasicExpressions.hpp | 77 +
parser/ParseExpression.hpp | 1 +
parser/SqlLexer.lpp | 2 +
parser/SqlParser.ypp | 16 +
parser/preprocessed/SqlLexer_gen.cpp | 1173 +++----
parser/preprocessed/SqlLexer_gen.hpp | 2 +-
parser/preprocessed/SqlParser_gen.cpp | 2920 +++++++++---------
parser/preprocessed/SqlParser_gen.hpp | 126 +-
query_execution/BlockLocator.cpp | 223 ++
query_execution/BlockLocator.hpp | 125 +
query_execution/CMakeLists.txt | 50 +
query_execution/QueryContext.cpp | 16 +-
query_execution/QueryContext.hpp | 57 +-
query_execution/QueryContext.proto | 18 +-
query_execution/QueryExecutionMessages.proto | 34 +
query_execution/QueryExecutionTypedefs.hpp | 16 +
query_execution/tests/BlockLocator_unittest.cpp | 270 ++
query_optimizer/CMakeLists.txt | 16 +-
query_optimizer/ExecutionGenerator.cpp | 126 +-
query_optimizer/ExecutionGenerator.hpp | 5 +-
query_optimizer/ExecutionHeuristics.cpp | 127 +
query_optimizer/ExecutionHeuristics.hpp | 155 +
query_optimizer/PhysicalGenerator.cpp | 25 +
query_optimizer/QueryProcessor.hpp | 10 +
query_optimizer/cost_model/CMakeLists.txt | 32 +-
.../cost_model/StarSchemaSimpleCostModel.cpp | 258 ++
.../cost_model/StarSchemaSimpleCostModel.hpp | 115 +
query_optimizer/physical/Aggregate.cpp | 14 +
query_optimizer/resolver/CMakeLists.txt | 1 +
query_optimizer/resolver/Resolver.cpp | 32 +
query_optimizer/rules/CMakeLists.txt | 20 +-
.../StarSchemaHashJoinOrderOptimization.cpp | 309 ++
.../StarSchemaHashJoinOrderOptimization.hpp | 136 +
query_optimizer/tests/CMakeLists.txt | 17 +
.../tests/ExecutionHeuristics_unittest.cpp | 301 ++
query_optimizer/tests/OptimizerTextTest.cpp | 14 +
.../tests/execution_generator/Select.test | 56 +-
query_optimizer/tests/resolver/Select.test | 78 +
relational_operators/HashJoinOperator.cpp | 2 +-
storage/AggregationOperationState.cpp | 112 +-
storage/AggregationOperationState.hpp | 9 +
storage/AggregationOperationState.proto | 5 +
storage/CMakeLists.txt | 117 +-
storage/DataExchange.proto | 31 +
storage/DataExchangerAsync.cpp | 165 +
storage/DataExchangerAsync.hpp | 97 +
storage/FileManager.hpp | 9 +-
storage/FileManagerHdfs.cpp | 57 +-
storage/FileManagerPosix.cpp | 55 +-
storage/FileManagerPosix.hpp | 6 +-
storage/FileManagerWindows.cpp | 53 +-
storage/FileManagerWindows.hpp | 4 +-
storage/HashTable.hpp | 104 +
storage/HashTable.proto | 8 +
storage/HashTableFactory.hpp | 44 +-
storage/HashTablePool.hpp | 166 +
storage/PreloaderThread.cpp | 98 +-
storage/PreloaderThread.hpp | 30 +
storage/SMAIndexSubBlock.cpp | 48 +-
storage/SMAIndexSubBlock.hpp | 3 +-
.../SimpleScalarSeparateChainingHashTable.hpp | 10 +-
storage/StorageBlock.cpp | 5 +
storage/StorageBlock.hpp | 11 +-
storage/StorageConstants.hpp | 4 +-
storage/StorageManager.cpp | 312 +-
storage/StorageManager.hpp | 135 +-
storage/tests/DataExchange_unittest.cpp | 240 ++
storage/tests/SMAIndexSubBlock_unittest.cpp | 52 +
third_party/iwyu/iwyu_helper.py | 3 +-
transaction/AccessMode.hpp | 76 +-
transaction/CMakeLists.txt | 59 +-
transaction/CycleDetector.cpp | 120 +
transaction/CycleDetector.hpp | 83 +
transaction/DeadLockDetector.cpp | 177 ++
transaction/DeadLockDetector.hpp | 156 +
transaction/DirectedGraph.hpp | 56 +-
transaction/LockManager.cpp | 237 ++
transaction/LockManager.hpp | 128 +
transaction/LockTable.cpp | 22 +-
transaction/LockTable.hpp | 36 +-
transaction/ResourceId.hpp | 9 +-
transaction/StronglyConnectedComponents.cpp | 1 -
transaction/Transaction.cpp | 48 -
transaction/TransactionTable.cpp | 8 +-
transaction/TransactionTable.hpp | 11 +-
transaction/tests/AccessMode_unittest.cpp | 12 +-
transaction/tests/CycleDetector_unittest.cpp | 157 +
transaction/tests/DeadLockDetector_unittest.cpp | 96 +
transaction/tests/DirectedGraph_unittest.cpp | 113 +-
transaction/tests/LockRequest_unittest.cpp | 4 +-
transaction/tests/LockTable_unittest.cpp | 63 +-
transaction/tests/Lock_unittest.cpp | 13 +-
.../StronglyConnectedComponents_unittest.cpp | 15 +-
transaction/tests/TransactionTable_unittest.cpp | 102 +-
types/operations/Operation.proto | 9 +
.../operations/unary_operations/CMakeLists.txt | 22 +
.../unary_operations/SubstringOperation.cpp | 214 ++
.../unary_operations/SubstringOperation.hpp | 234 ++
.../unary_operations/UnaryOperation.cpp | 4 +
.../unary_operations/UnaryOperationFactory.cpp | 12 +
.../unary_operations/UnaryOperationID.cpp | 6 +-
.../unary_operations/UnaryOperationID.hpp | 3 +
utility/BloomFilter.hpp | 198 +-
utility/BloomFilter.proto | 30 +
utility/CMakeLists.txt | 28 +
utility/PlanVisualizer.cpp | 161 +
utility/PlanVisualizer.hpp | 94 +
utility/ScopedBuffer.hpp | 19 +-
utility/StringUtil.cpp | 14 +
utility/StringUtil.hpp | 48 +-
validate_cmakelists.py | 5 +-
152 files changed, 10723 insertions(+), 2687 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/07127077/query_optimizer/ExecutionGenerator.cpp
----------------------------------------------------------------------