Uploaded image for project: 'Tajo'
  1. Tajo
  2. TAJO-1300

Merge the index branch into the master branch

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.11.0
    • Component/s: Index
    • Labels:
      None

      Description

      As discussed at https://github.com/apache/tajo/pull/231, there are a few things to introduce the proto type of the index feature to tajo. After the remaining works are finished, the index branch will be merged into the master branch.

        Activity

        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Tajo-master-build #782 (See https://builds.apache.org/job/Tajo-master-build/782/)
        TAJO-1300: Merge the index branch into the master branch. (jihoonson: rev 9840d378522ae921d32c04f21b3e0673fc9dd90c)

        • tajo-core/src/test/java/org/apache/tajo/engine/planner/TestJoinOrderAlgorithm.java
        • tajo-catalog/tajo-catalog-server/src/main/java/org/apache/tajo/catalog/store/AbstractDBStore.java
        • tajo-catalog/tajo-catalog-common/src/test/java/org/apache/tajo/catalog/TestIndexDesc.java
        • tajo-core/src/main/java/org/apache/tajo/querymaster/QueryMasterTask.java
        • tajo-plan/src/main/java/org/apache/tajo/plan/LogicalPlanner.java
        • tajo-catalog/tajo-catalog-common/src/main/java/org/apache/tajo/catalog/IndexMeta.java
        • tajo-core/src/test/resources/results/TestIndexScan/testWithJoin.result
        • tajo-core/src/test/resources/queries/TestCreateIndex/testCreateIndexOnLocation.sql
        • tajo-catalog/tajo-catalog-client/src/main/proto/CatalogProtocol.proto
        • tajo-core/src/test/java/org/apache/tajo/engine/planner/TestLogicalOptimizer.java
        • tajo-plan/src/main/java/org/apache/tajo/plan/rewrite/rules/IndexScanInfo.java
        • tajo-client/src/main/java/org/apache/tajo/client/SessionConnection.java
        • tajo-common/src/main/proto/errors.proto
        • tajo-plan/src/main/java/org/apache/tajo/plan/util/IndexUtil.java
        • tajo-core/src/test/java/org/apache/tajo/engine/query/TestTablePartitions.java
        • tajo-plan/src/main/proto/Plan.proto
        • tajo-plan/src/main/java/org/apache/tajo/plan/rewrite/BaseLogicalPlanRewriteEngine.java
        • tajo-common/src/main/java/org/apache/tajo/SessionVars.java
        • tajo-core/src/test/java/org/apache/tajo/engine/planner/TestLogicalPlanner.java
        • tajo-core/src/test/resources/queries/TestCreateIndex/testCreateIndexWithCondition.sql
        • tajo-plan/src/main/java/org/apache/tajo/plan/serder/LogicalNodeDeserializer.java
        • tajo-plan/src/main/java/org/apache/tajo/plan/util/PlannerUtil.java
        • tajo-core/src/test/resources/results/TestIndexScan/testOnMultipleKeys.result
        • tajo-algebra/src/main/java/org/apache/tajo/algebra/CreateDatabase.java
        • tajo-plan/src/main/java/org/apache/tajo/plan/rewrite/LogicalPlanRewriteRuleContext.java
        • tajo-plan/src/main/java/org/apache/tajo/plan/expr/EvalTreeUtil.java
        • tajo-catalog/tajo-catalog-server/src/main/resources/schemas/postgresql/postgresql.xml
        • tajo-core/src/test/java/org/apache/tajo/engine/planner/physical/TestBSTIndexExec.java
        • tajo-plan/src/main/java/org/apache/tajo/plan/visitor/SimpleAlgebraVisitor.java
        • tajo-core/src/main/java/org/apache/tajo/worker/TaskImpl.java
        • tajo-core/src/test/resources/queries/TestCreateIndex/testCreateIndexOnMultiAttrs.sql
        • tajo-core/src/test/resources/results/TestIndexScan/testWithGroupBy.result
        • tajo-client/src/main/java/org/apache/tajo/client/CatalogAdminClient.java
        • tajo-storage/tajo-storage-common/src/main/java/org/apache/tajo/storage/Tablespace.java
        • tajo-common/src/main/java/org/apache/tajo/util/TUtil.java
        • tajo-catalog/tajo-catalog-drivers/tajo-hive/src/main/java/org/apache/tajo/catalog/store/HiveCatalogStore.java
        • tajo-plan/src/main/java/org/apache/tajo/plan/LogicalOptimizer.java
        • tajo-algebra/src/main/java/org/apache/tajo/algebra/DropIndex.java
        • tajo-core/src/test/resources/queries/TestCreateIndex/testCreateIndexOnExpression.sql
        • tajo-plan/src/main/java/org/apache/tajo/plan/expr/AlgebraicUtil.java
        • tajo-core/src/main/java/org/apache/tajo/master/GlobalEngine.java
        • tajo-catalog/tajo-catalog-common/src/main/java/org/apache/tajo/catalog/CatalogService.java
        • tajo-common/src/main/java/org/apache/tajo/exception/ReturnStateUtil.java
        • tajo-client/src/main/java/org/apache/tajo/client/QueryClientImpl.java
        • tajo-catalog/tajo-catalog-server/src/main/java/org/apache/tajo/catalog/store/MemStore.java
        • tajo-jdbc/src/main/java/org/apache/tajo/jdbc/TajoStatement.java
        • tajo-core/src/main/java/org/apache/tajo/master/TajoMasterClientService.java
        • tajo-core/src/main/java/org/apache/tajo/master/exec/QueryExecutor.java
        • tajo-plan/src/main/java/org/apache/tajo/plan/rewrite/rules/LogicalPlanEqualityTester.java
        • tajo-catalog/tajo-catalog-server/src/test/java/org/apache/tajo/catalog/TestCatalog.java
        • tajo-core/src/main/java/org/apache/tajo/engine/planner/global/GlobalPlanner.java
        • tajo-catalog/tajo-catalog-common/src/main/java/org/apache/tajo/catalog/IndexDesc.java
        • tajo-plan/src/main/java/org/apache/tajo/plan/rewrite/rules/PartitionedTableRewriter.java
        • tajo-common/src/main/java/org/apache/tajo/conf/TajoConf.java
        • tajo-core/src/test/resources/results/TestIndexScan/testOnSortedNonUniqueKeys.result
        • tajo-catalog/tajo-catalog-server/src/main/resources/schemas/mariadb/mariadb.xml
        • tajo-cli/src/main/java/org/apache/tajo/cli/tsql/commands/DescTableCommand.java
        • tajo-core/src/test/java/org/apache/tajo/engine/planner/physical/TestSortExec.java
        • tajo-catalog/tajo-catalog-server/src/main/resources/schemas/oracle/oracle.xml
        • tajo-plan/src/main/java/org/apache/tajo/plan/logical/DropIndexNode.java
        • tajo-core/src/test/java/org/apache/tajo/engine/planner/physical/TestHashAntiJoinExec.java
        • tajo-core/src/test/java/org/apache/tajo/master/TestExecutionBlockCursor.java
        • tajo-algebra/src/main/java/org/apache/tajo/algebra/CreateIndex.java
        • tajo-core/src/main/java/org/apache/tajo/engine/planner/physical/BSTIndexScanExec.java
        • tajo-core/src/test/java/org/apache/tajo/engine/planner/physical/TestHashSemiJoinExec.java
        • tajo-core/src/main/java/org/apache/tajo/util/IndexUtil.java
        • tajo-core/src/test/java/org/apache/tajo/cli/tools/TestTajoDump.java
        • tajo-core/src/test/java/org/apache/tajo/engine/planner/physical/TestSortIntersectExec.java
        • tajo-core/src/main/java/org/apache/tajo/ws/rs/resources/QueryResource.java
        • tajo-core/src/test/resources/results/TestIndexScan/testOnUnsortedTextKeys.result
        • tajo-catalog/tajo-catalog-server/src/main/java/org/apache/tajo/catalog/dictionary/IndexesTableDescriptor.java
        • tajo-plan/src/main/java/org/apache/tajo/plan/logical/IndexScanNode.java
        • tajo-catalog/tajo-catalog-server/src/main/java/org/apache/tajo/catalog/store/CatalogStore.java
        • tajo-core/src/test/java/org/apache/tajo/engine/eval/ExprTestBase.java
        • tajo-client/src/main/java/org/apache/tajo/client/CatalogAdminClientImpl.java
        • CHANGES
        • tajo-catalog/tajo-catalog-common/src/main/java/org/apache/tajo/catalog/CatalogUtil.java
        • tajo-catalog/tajo-catalog-common/src/main/java/org/apache/tajo/catalog/DDLBuilder.java
        • tajo-catalog/tajo-catalog-server/src/main/resources/schemas/derby/derby.xml
        • tajo-catalog/tajo-catalog-client/src/main/java/org/apache/tajo/catalog/AbstractCatalogClient.java
        • tajo-client/src/main/java/org/apache/tajo/client/TajoClientImpl.java
        • tajo-storage/tajo-storage-common/src/main/java/org/apache/tajo/storage/OldStorageManager.java
        • tajo-plan/src/main/java/org/apache/tajo/plan/NamedExprsManager.java
        • tajo-catalog/tajo-catalog-common/src/main/java/org/apache/tajo/catalog/CatalogConstants.java
        • tajo-plan/src/main/java/org/apache/tajo/plan/logical/NodeType.java
        • tajo-core/src/test/resources/results/TestTajoCli/testHelpSessionVars.result
        • tajo-plan/src/main/java/org/apache/tajo/plan/algebra/AlgebraVisitor.java
        • tajo-core/src/test/resources/results/TestTajoDump/testDump3.result
        • tajo-plan/src/main/java/org/apache/tajo/plan/rewrite/rules/FilterPushDownRule.java
        • tajo-core/src/test/java/org/apache/tajo/querymaster/TestKillQuery.java
        • tajo-core/src/test/resources/results/TestIndexScan/testOnMultipleExprs.result
        • tajo-common/src/main/java/org/apache/tajo/OverridableConf.java
        • tajo-plan/src/main/java/org/apache/tajo/plan/visitor/LogicalPlanVisitor.java
        • tajo-plan/src/main/java/org/apache/tajo/plan/algebra/BaseAlgebraVisitor.java
        • tajo-plan/src/main/java/org/apache/tajo/plan/serder/LogicalNodeSerializer.java
        • tajo-core/src/main/java/org/apache/tajo/master/exec/DDLExecutor.java
        • tajo-plan/src/main/java/org/apache/tajo/plan/logical/CreateIndexNode.java
        • tajo-core/src/main/java/org/apache/tajo/engine/codegen/ExecutorPreCompiler.java
        • tajo-core/src/main/java/org/apache/tajo/engine/utils/test/ErrorInjectionRewriter.java
        • tajo-client/src/main/proto/TajoMasterClientProtocol.proto
        • tajo-storage/tajo-storage-hbase/src/main/java/org/apache/tajo/storage/hbase/SortedInsertRewriter.java
        • tajo-core/src/test/java/org/apache/tajo/engine/query/TestIndexScan.java
        • tajo-core/src/test/resources/queries/TestCreateIndex/testCreateIndex.sql
        • tajo-plan/src/main/java/org/apache/tajo/plan/rewrite/rules/SeqScanInfo.java
        • tajo-common/src/main/java/org/apache/tajo/exception/ErrorMessages.java
        • tajo-algebra/src/main/java/org/apache/tajo/algebra/Insert.java
        • tajo-catalog/tajo-catalog-common/src/main/proto/CatalogProtos.proto
        • tajo-core/src/main/java/org/apache/tajo/worker/TajoWorkerClientService.java
        • tajo-plan/src/main/java/org/apache/tajo/plan/rewrite/rules/AccessPathInfo.java
        • tajo-storage/tajo-storage-hdfs/src/test/java/org/apache/tajo/storage/index/TestBSTIndex.java
        • tajo-catalog/tajo-catalog-server/src/main/resources/schemas/mysql/mysql.xml
        • tajo-core/src/main/java/org/apache/tajo/querymaster/Query.java
        • tajo-plan/src/main/java/org/apache/tajo/plan/rewrite/LogicalPlanRewriteEngine.java
        • tajo-storage/tajo-storage-hbase/src/main/java/org/apache/tajo/storage/hbase/HBaseTablespace.java
        • tajo-core/src/main/java/org/apache/tajo/engine/planner/physical/ProjectionExec.java
        • tajo-docs/src/main/sphinx/index/how_to_use.rst
        • tajo-plan/src/main/java/org/apache/tajo/plan/rewrite/rules/AccessPathRewriter.java
        • tajo-plan/src/main/java/org/apache/tajo/plan/rewrite/LogicalPlanRewriteRule.java
        • tajo-core/src/main/java/org/apache/tajo/engine/planner/PhysicalPlannerImpl.java
        • tajo-algebra/src/main/java/org/apache/tajo/algebra/OpType.java
        • tajo-storage/tajo-storage-hdfs/src/test/java/org/apache/tajo/storage/index/TestSingleCSVFileBSTIndex.java
        • tajo-plan/src/main/java/org/apache/tajo/plan/visitor/ExplainLogicalPlanVisitor.java
        • tajo-core/src/test/resources/queries/TestCreateIndex/testCreateIndexOnMultiExprs.sql
        • tajo-core/src/test/resources/results/TestIndexScan/testOnMultipleKeys2.result
        • tajo-cli/src/main/java/org/apache/tajo/cli/tools/TajoDump.java
        • tajo-core/src/test/java/org/apache/tajo/engine/planner/physical/TestPhysicalPlanner.java
        • tajo-catalog/tajo-catalog-server/src/main/java/org/apache/tajo/catalog/CatalogServer.java
        • tajo-algebra/src/main/java/org/apache/tajo/algebra/CreateTable.java
        • tajo-plan/src/main/java/org/apache/tajo/plan/rewrite/rules/ProjectionPushDownRule.java
        • tajo-plan/src/main/java/org/apache/tajo/plan/rewrite/BaseLogicalPlanRewriteRuleProvider.java
        • tajo-core/src/test/java/org/apache/tajo/engine/query/TestCreateIndex.java
        • tajo-plan/src/main/java/org/apache/tajo/plan/LogicalPlanPreprocessor.java
        • tajo-core/src/main/java/org/apache/tajo/master/exec/NonForwardQueryResultSystemScanner.java
        • tajo-core/src/main/java/org/apache/tajo/engine/parser/SQLAnalyzer.java
        • tajo-core/src/main/java/org/apache/tajo/worker/TaskAttemptContext.java
        • tajo-core/src/test/java/org/apache/tajo/QueryTestCaseBase.java
        • tajo-core/src/main/antlr4/org/apache/tajo/engine/parser/SQLParser.g4
        • tajo-client/src/main/proto/ClientProtos.proto
        • tajo-plan/src/main/java/org/apache/tajo/plan/LogicalPlan.java
        • tajo-core/src/test/resources/results/TestIndexScan/testWithSort.result
        • tajo-core/src/main/java/org/apache/tajo/engine/planner/physical/StoreIndexExec.java
        • tajo-catalog/tajo-catalog-common/src/main/java/org/apache/tajo/catalog/TableDesc.java
        • tajo-plan/src/main/java/org/apache/tajo/plan/visitor/BasicLogicalPlanVisitor.java
        • tajo-catalog/tajo-catalog-common/src/main/java/org/apache/tajo/catalog/exception/UndefinedIndexException.java
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Tajo-master-build #782 (See https://builds.apache.org/job/Tajo-master-build/782/ ) TAJO-1300 : Merge the index branch into the master branch. (jihoonson: rev 9840d378522ae921d32c04f21b3e0673fc9dd90c) tajo-core/src/test/java/org/apache/tajo/engine/planner/TestJoinOrderAlgorithm.java tajo-catalog/tajo-catalog-server/src/main/java/org/apache/tajo/catalog/store/AbstractDBStore.java tajo-catalog/tajo-catalog-common/src/test/java/org/apache/tajo/catalog/TestIndexDesc.java tajo-core/src/main/java/org/apache/tajo/querymaster/QueryMasterTask.java tajo-plan/src/main/java/org/apache/tajo/plan/LogicalPlanner.java tajo-catalog/tajo-catalog-common/src/main/java/org/apache/tajo/catalog/IndexMeta.java tajo-core/src/test/resources/results/TestIndexScan/testWithJoin.result tajo-core/src/test/resources/queries/TestCreateIndex/testCreateIndexOnLocation.sql tajo-catalog/tajo-catalog-client/src/main/proto/CatalogProtocol.proto tajo-core/src/test/java/org/apache/tajo/engine/planner/TestLogicalOptimizer.java tajo-plan/src/main/java/org/apache/tajo/plan/rewrite/rules/IndexScanInfo.java tajo-client/src/main/java/org/apache/tajo/client/SessionConnection.java tajo-common/src/main/proto/errors.proto tajo-plan/src/main/java/org/apache/tajo/plan/util/IndexUtil.java tajo-core/src/test/java/org/apache/tajo/engine/query/TestTablePartitions.java tajo-plan/src/main/proto/Plan.proto tajo-plan/src/main/java/org/apache/tajo/plan/rewrite/BaseLogicalPlanRewriteEngine.java tajo-common/src/main/java/org/apache/tajo/SessionVars.java tajo-core/src/test/java/org/apache/tajo/engine/planner/TestLogicalPlanner.java tajo-core/src/test/resources/queries/TestCreateIndex/testCreateIndexWithCondition.sql tajo-plan/src/main/java/org/apache/tajo/plan/serder/LogicalNodeDeserializer.java tajo-plan/src/main/java/org/apache/tajo/plan/util/PlannerUtil.java tajo-core/src/test/resources/results/TestIndexScan/testOnMultipleKeys.result tajo-algebra/src/main/java/org/apache/tajo/algebra/CreateDatabase.java tajo-plan/src/main/java/org/apache/tajo/plan/rewrite/LogicalPlanRewriteRuleContext.java tajo-plan/src/main/java/org/apache/tajo/plan/expr/EvalTreeUtil.java tajo-catalog/tajo-catalog-server/src/main/resources/schemas/postgresql/postgresql.xml tajo-core/src/test/java/org/apache/tajo/engine/planner/physical/TestBSTIndexExec.java tajo-plan/src/main/java/org/apache/tajo/plan/visitor/SimpleAlgebraVisitor.java tajo-core/src/main/java/org/apache/tajo/worker/TaskImpl.java tajo-core/src/test/resources/queries/TestCreateIndex/testCreateIndexOnMultiAttrs.sql tajo-core/src/test/resources/results/TestIndexScan/testWithGroupBy.result tajo-client/src/main/java/org/apache/tajo/client/CatalogAdminClient.java tajo-storage/tajo-storage-common/src/main/java/org/apache/tajo/storage/Tablespace.java tajo-common/src/main/java/org/apache/tajo/util/TUtil.java tajo-catalog/tajo-catalog-drivers/tajo-hive/src/main/java/org/apache/tajo/catalog/store/HiveCatalogStore.java tajo-plan/src/main/java/org/apache/tajo/plan/LogicalOptimizer.java tajo-algebra/src/main/java/org/apache/tajo/algebra/DropIndex.java tajo-core/src/test/resources/queries/TestCreateIndex/testCreateIndexOnExpression.sql tajo-plan/src/main/java/org/apache/tajo/plan/expr/AlgebraicUtil.java tajo-core/src/main/java/org/apache/tajo/master/GlobalEngine.java tajo-catalog/tajo-catalog-common/src/main/java/org/apache/tajo/catalog/CatalogService.java tajo-common/src/main/java/org/apache/tajo/exception/ReturnStateUtil.java tajo-client/src/main/java/org/apache/tajo/client/QueryClientImpl.java tajo-catalog/tajo-catalog-server/src/main/java/org/apache/tajo/catalog/store/MemStore.java tajo-jdbc/src/main/java/org/apache/tajo/jdbc/TajoStatement.java tajo-core/src/main/java/org/apache/tajo/master/TajoMasterClientService.java tajo-core/src/main/java/org/apache/tajo/master/exec/QueryExecutor.java tajo-plan/src/main/java/org/apache/tajo/plan/rewrite/rules/LogicalPlanEqualityTester.java tajo-catalog/tajo-catalog-server/src/test/java/org/apache/tajo/catalog/TestCatalog.java tajo-core/src/main/java/org/apache/tajo/engine/planner/global/GlobalPlanner.java tajo-catalog/tajo-catalog-common/src/main/java/org/apache/tajo/catalog/IndexDesc.java tajo-plan/src/main/java/org/apache/tajo/plan/rewrite/rules/PartitionedTableRewriter.java tajo-common/src/main/java/org/apache/tajo/conf/TajoConf.java tajo-core/src/test/resources/results/TestIndexScan/testOnSortedNonUniqueKeys.result tajo-catalog/tajo-catalog-server/src/main/resources/schemas/mariadb/mariadb.xml tajo-cli/src/main/java/org/apache/tajo/cli/tsql/commands/DescTableCommand.java tajo-core/src/test/java/org/apache/tajo/engine/planner/physical/TestSortExec.java tajo-catalog/tajo-catalog-server/src/main/resources/schemas/oracle/oracle.xml tajo-plan/src/main/java/org/apache/tajo/plan/logical/DropIndexNode.java tajo-core/src/test/java/org/apache/tajo/engine/planner/physical/TestHashAntiJoinExec.java tajo-core/src/test/java/org/apache/tajo/master/TestExecutionBlockCursor.java tajo-algebra/src/main/java/org/apache/tajo/algebra/CreateIndex.java tajo-core/src/main/java/org/apache/tajo/engine/planner/physical/BSTIndexScanExec.java tajo-core/src/test/java/org/apache/tajo/engine/planner/physical/TestHashSemiJoinExec.java tajo-core/src/main/java/org/apache/tajo/util/IndexUtil.java tajo-core/src/test/java/org/apache/tajo/cli/tools/TestTajoDump.java tajo-core/src/test/java/org/apache/tajo/engine/planner/physical/TestSortIntersectExec.java tajo-core/src/main/java/org/apache/tajo/ws/rs/resources/QueryResource.java tajo-core/src/test/resources/results/TestIndexScan/testOnUnsortedTextKeys.result tajo-catalog/tajo-catalog-server/src/main/java/org/apache/tajo/catalog/dictionary/IndexesTableDescriptor.java tajo-plan/src/main/java/org/apache/tajo/plan/logical/IndexScanNode.java tajo-catalog/tajo-catalog-server/src/main/java/org/apache/tajo/catalog/store/CatalogStore.java tajo-core/src/test/java/org/apache/tajo/engine/eval/ExprTestBase.java tajo-client/src/main/java/org/apache/tajo/client/CatalogAdminClientImpl.java CHANGES tajo-catalog/tajo-catalog-common/src/main/java/org/apache/tajo/catalog/CatalogUtil.java tajo-catalog/tajo-catalog-common/src/main/java/org/apache/tajo/catalog/DDLBuilder.java tajo-catalog/tajo-catalog-server/src/main/resources/schemas/derby/derby.xml tajo-catalog/tajo-catalog-client/src/main/java/org/apache/tajo/catalog/AbstractCatalogClient.java tajo-client/src/main/java/org/apache/tajo/client/TajoClientImpl.java tajo-storage/tajo-storage-common/src/main/java/org/apache/tajo/storage/OldStorageManager.java tajo-plan/src/main/java/org/apache/tajo/plan/NamedExprsManager.java tajo-catalog/tajo-catalog-common/src/main/java/org/apache/tajo/catalog/CatalogConstants.java tajo-plan/src/main/java/org/apache/tajo/plan/logical/NodeType.java tajo-core/src/test/resources/results/TestTajoCli/testHelpSessionVars.result tajo-plan/src/main/java/org/apache/tajo/plan/algebra/AlgebraVisitor.java tajo-core/src/test/resources/results/TestTajoDump/testDump3.result tajo-plan/src/main/java/org/apache/tajo/plan/rewrite/rules/FilterPushDownRule.java tajo-core/src/test/java/org/apache/tajo/querymaster/TestKillQuery.java tajo-core/src/test/resources/results/TestIndexScan/testOnMultipleExprs.result tajo-common/src/main/java/org/apache/tajo/OverridableConf.java tajo-plan/src/main/java/org/apache/tajo/plan/visitor/LogicalPlanVisitor.java tajo-plan/src/main/java/org/apache/tajo/plan/algebra/BaseAlgebraVisitor.java tajo-plan/src/main/java/org/apache/tajo/plan/serder/LogicalNodeSerializer.java tajo-core/src/main/java/org/apache/tajo/master/exec/DDLExecutor.java tajo-plan/src/main/java/org/apache/tajo/plan/logical/CreateIndexNode.java tajo-core/src/main/java/org/apache/tajo/engine/codegen/ExecutorPreCompiler.java tajo-core/src/main/java/org/apache/tajo/engine/utils/test/ErrorInjectionRewriter.java tajo-client/src/main/proto/TajoMasterClientProtocol.proto tajo-storage/tajo-storage-hbase/src/main/java/org/apache/tajo/storage/hbase/SortedInsertRewriter.java tajo-core/src/test/java/org/apache/tajo/engine/query/TestIndexScan.java tajo-core/src/test/resources/queries/TestCreateIndex/testCreateIndex.sql tajo-plan/src/main/java/org/apache/tajo/plan/rewrite/rules/SeqScanInfo.java tajo-common/src/main/java/org/apache/tajo/exception/ErrorMessages.java tajo-algebra/src/main/java/org/apache/tajo/algebra/Insert.java tajo-catalog/tajo-catalog-common/src/main/proto/CatalogProtos.proto tajo-core/src/main/java/org/apache/tajo/worker/TajoWorkerClientService.java tajo-plan/src/main/java/org/apache/tajo/plan/rewrite/rules/AccessPathInfo.java tajo-storage/tajo-storage-hdfs/src/test/java/org/apache/tajo/storage/index/TestBSTIndex.java tajo-catalog/tajo-catalog-server/src/main/resources/schemas/mysql/mysql.xml tajo-core/src/main/java/org/apache/tajo/querymaster/Query.java tajo-plan/src/main/java/org/apache/tajo/plan/rewrite/LogicalPlanRewriteEngine.java tajo-storage/tajo-storage-hbase/src/main/java/org/apache/tajo/storage/hbase/HBaseTablespace.java tajo-core/src/main/java/org/apache/tajo/engine/planner/physical/ProjectionExec.java tajo-docs/src/main/sphinx/index/how_to_use.rst tajo-plan/src/main/java/org/apache/tajo/plan/rewrite/rules/AccessPathRewriter.java tajo-plan/src/main/java/org/apache/tajo/plan/rewrite/LogicalPlanRewriteRule.java tajo-core/src/main/java/org/apache/tajo/engine/planner/PhysicalPlannerImpl.java tajo-algebra/src/main/java/org/apache/tajo/algebra/OpType.java tajo-storage/tajo-storage-hdfs/src/test/java/org/apache/tajo/storage/index/TestSingleCSVFileBSTIndex.java tajo-plan/src/main/java/org/apache/tajo/plan/visitor/ExplainLogicalPlanVisitor.java tajo-core/src/test/resources/queries/TestCreateIndex/testCreateIndexOnMultiExprs.sql tajo-core/src/test/resources/results/TestIndexScan/testOnMultipleKeys2.result tajo-cli/src/main/java/org/apache/tajo/cli/tools/TajoDump.java tajo-core/src/test/java/org/apache/tajo/engine/planner/physical/TestPhysicalPlanner.java tajo-catalog/tajo-catalog-server/src/main/java/org/apache/tajo/catalog/CatalogServer.java tajo-algebra/src/main/java/org/apache/tajo/algebra/CreateTable.java tajo-plan/src/main/java/org/apache/tajo/plan/rewrite/rules/ProjectionPushDownRule.java tajo-plan/src/main/java/org/apache/tajo/plan/rewrite/BaseLogicalPlanRewriteRuleProvider.java tajo-core/src/test/java/org/apache/tajo/engine/query/TestCreateIndex.java tajo-plan/src/main/java/org/apache/tajo/plan/LogicalPlanPreprocessor.java tajo-core/src/main/java/org/apache/tajo/master/exec/NonForwardQueryResultSystemScanner.java tajo-core/src/main/java/org/apache/tajo/engine/parser/SQLAnalyzer.java tajo-core/src/main/java/org/apache/tajo/worker/TaskAttemptContext.java tajo-core/src/test/java/org/apache/tajo/QueryTestCaseBase.java tajo-core/src/main/antlr4/org/apache/tajo/engine/parser/SQLParser.g4 tajo-client/src/main/proto/ClientProtos.proto tajo-plan/src/main/java/org/apache/tajo/plan/LogicalPlan.java tajo-core/src/test/resources/results/TestIndexScan/testWithSort.result tajo-core/src/main/java/org/apache/tajo/engine/planner/physical/StoreIndexExec.java tajo-catalog/tajo-catalog-common/src/main/java/org/apache/tajo/catalog/TableDesc.java tajo-plan/src/main/java/org/apache/tajo/plan/visitor/BasicLogicalPlanVisitor.java tajo-catalog/tajo-catalog-common/src/main/java/org/apache/tajo/catalog/exception/UndefinedIndexException.java
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Tajo-master-CODEGEN-build #420 (See https://builds.apache.org/job/Tajo-master-CODEGEN-build/420/)
        TAJO-1300: Merge the index branch into the master branch. (jihoonson: rev 9840d378522ae921d32c04f21b3e0673fc9dd90c)

        • tajo-storage/tajo-storage-hdfs/src/test/java/org/apache/tajo/storage/index/TestBSTIndex.java
        • tajo-plan/src/main/java/org/apache/tajo/plan/rewrite/BaseLogicalPlanRewriteRuleProvider.java
        • tajo-core/src/test/resources/results/TestIndexScan/testWithJoin.result
        • tajo-catalog/tajo-catalog-server/src/main/java/org/apache/tajo/catalog/store/CatalogStore.java
        • tajo-plan/src/main/java/org/apache/tajo/plan/logical/DropIndexNode.java
        • tajo-plan/src/main/java/org/apache/tajo/plan/rewrite/BaseLogicalPlanRewriteEngine.java
        • tajo-plan/src/main/java/org/apache/tajo/plan/rewrite/rules/FilterPushDownRule.java
        • tajo-catalog/tajo-catalog-server/src/test/java/org/apache/tajo/catalog/TestCatalog.java
        • tajo-common/src/main/java/org/apache/tajo/SessionVars.java
        • tajo-plan/src/main/java/org/apache/tajo/plan/visitor/SimpleAlgebraVisitor.java
        • tajo-client/src/main/java/org/apache/tajo/client/CatalogAdminClient.java
        • tajo-algebra/src/main/java/org/apache/tajo/algebra/DropIndex.java
        • tajo-core/src/test/java/org/apache/tajo/QueryTestCaseBase.java
        • tajo-core/src/test/resources/results/TestIndexScan/testOnMultipleKeys.result
        • tajo-plan/src/main/java/org/apache/tajo/plan/rewrite/rules/IndexScanInfo.java
        • tajo-core/src/test/resources/queries/TestCreateIndex/testCreateIndexOnExpression.sql
        • tajo-catalog/tajo-catalog-common/src/main/java/org/apache/tajo/catalog/CatalogConstants.java
        • tajo-catalog/tajo-catalog-client/src/main/proto/CatalogProtocol.proto
        • tajo-cli/src/main/java/org/apache/tajo/cli/tsql/commands/DescTableCommand.java
        • tajo-plan/src/main/java/org/apache/tajo/plan/util/PlannerUtil.java
        • tajo-common/src/main/java/org/apache/tajo/exception/ReturnStateUtil.java
        • tajo-core/src/test/java/org/apache/tajo/engine/planner/TestLogicalPlanner.java
        • tajo-core/src/test/java/org/apache/tajo/engine/planner/physical/TestSortIntersectExec.java
        • tajo-core/src/main/java/org/apache/tajo/util/IndexUtil.java
        • tajo-core/src/test/resources/results/TestTajoCli/testHelpSessionVars.result
        • tajo-catalog/tajo-catalog-common/src/main/java/org/apache/tajo/catalog/TableDesc.java
        • tajo-plan/src/main/java/org/apache/tajo/plan/logical/NodeType.java
        • tajo-common/src/main/java/org/apache/tajo/exception/ErrorMessages.java
        • tajo-core/src/main/java/org/apache/tajo/worker/TaskAttemptContext.java
        • tajo-storage/tajo-storage-hbase/src/main/java/org/apache/tajo/storage/hbase/SortedInsertRewriter.java
        • tajo-core/src/main/java/org/apache/tajo/engine/parser/SQLAnalyzer.java
        • tajo-core/src/test/resources/queries/TestCreateIndex/testCreateIndex.sql
        • tajo-catalog/tajo-catalog-drivers/tajo-hive/src/main/java/org/apache/tajo/catalog/store/HiveCatalogStore.java
        • tajo-docs/src/main/sphinx/index/how_to_use.rst
        • tajo-core/src/test/java/org/apache/tajo/engine/eval/ExprTestBase.java
        • tajo-catalog/tajo-catalog-common/src/test/java/org/apache/tajo/catalog/TestIndexDesc.java
        • tajo-core/src/main/antlr4/org/apache/tajo/engine/parser/SQLParser.g4
        • tajo-plan/src/main/java/org/apache/tajo/plan/serder/LogicalNodeDeserializer.java
        • tajo-client/src/main/java/org/apache/tajo/client/TajoClientImpl.java
        • tajo-catalog/tajo-catalog-common/src/main/java/org/apache/tajo/catalog/CatalogService.java
        • tajo-core/src/test/java/org/apache/tajo/engine/query/TestIndexScan.java
        • tajo-catalog/tajo-catalog-common/src/main/java/org/apache/tajo/catalog/exception/UndefinedIndexException.java
        • tajo-plan/src/main/proto/Plan.proto
        • tajo-core/src/main/java/org/apache/tajo/engine/planner/physical/BSTIndexScanExec.java
        • tajo-core/src/test/resources/results/TestIndexScan/testOnMultipleKeys2.result
        • tajo-algebra/src/main/java/org/apache/tajo/algebra/CreateIndex.java
        • tajo-core/src/test/java/org/apache/tajo/master/TestExecutionBlockCursor.java
        • tajo-plan/src/main/java/org/apache/tajo/plan/util/IndexUtil.java
        • tajo-catalog/tajo-catalog-server/src/main/resources/schemas/mysql/mysql.xml
        • tajo-core/src/main/java/org/apache/tajo/worker/TaskImpl.java
        • tajo-plan/src/main/java/org/apache/tajo/plan/rewrite/rules/PartitionedTableRewriter.java
        • tajo-core/src/test/resources/queries/TestCreateIndex/testCreateIndexOnLocation.sql
        • tajo-algebra/src/main/java/org/apache/tajo/algebra/Insert.java
        • tajo-jdbc/src/main/java/org/apache/tajo/jdbc/TajoStatement.java
        • tajo-core/src/test/java/org/apache/tajo/engine/planner/physical/TestSortExec.java
        • tajo-core/src/test/java/org/apache/tajo/engine/query/TestTablePartitions.java
        • tajo-plan/src/main/java/org/apache/tajo/plan/visitor/LogicalPlanVisitor.java
        • tajo-core/src/main/java/org/apache/tajo/engine/planner/physical/StoreIndexExec.java
        • tajo-catalog/tajo-catalog-server/src/main/java/org/apache/tajo/catalog/store/MemStore.java
        • tajo-plan/src/main/java/org/apache/tajo/plan/serder/LogicalNodeSerializer.java
        • tajo-client/src/main/java/org/apache/tajo/client/QueryClientImpl.java
        • tajo-storage/tajo-storage-common/src/main/java/org/apache/tajo/storage/Tablespace.java
        • tajo-plan/src/main/java/org/apache/tajo/plan/algebra/AlgebraVisitor.java
        • tajo-core/src/main/java/org/apache/tajo/engine/planner/global/GlobalPlanner.java
        • tajo-plan/src/main/java/org/apache/tajo/plan/logical/CreateIndexNode.java
        • tajo-core/src/test/resources/results/TestIndexScan/testOnSortedNonUniqueKeys.result
        • tajo-core/src/test/java/org/apache/tajo/engine/query/TestCreateIndex.java
        • tajo-core/src/main/java/org/apache/tajo/master/TajoMasterClientService.java
        • tajo-storage/tajo-storage-common/src/main/java/org/apache/tajo/storage/OldStorageManager.java
        • tajo-plan/src/main/java/org/apache/tajo/plan/visitor/ExplainLogicalPlanVisitor.java
        • tajo-plan/src/main/java/org/apache/tajo/plan/rewrite/LogicalPlanRewriteRule.java
        • tajo-catalog/tajo-catalog-server/src/main/java/org/apache/tajo/catalog/dictionary/IndexesTableDescriptor.java
        • tajo-plan/src/main/java/org/apache/tajo/plan/LogicalPlanner.java
        • tajo-client/src/main/proto/TajoMasterClientProtocol.proto
        • tajo-catalog/tajo-catalog-common/src/main/java/org/apache/tajo/catalog/IndexMeta.java
        • tajo-common/src/main/proto/errors.proto
        • tajo-core/src/test/java/org/apache/tajo/engine/planner/physical/TestPhysicalPlanner.java
        • tajo-plan/src/main/java/org/apache/tajo/plan/NamedExprsManager.java
        • tajo-common/src/main/java/org/apache/tajo/conf/TajoConf.java
        • tajo-core/src/test/resources/queries/TestCreateIndex/testCreateIndexOnMultiAttrs.sql
        • tajo-plan/src/main/java/org/apache/tajo/plan/rewrite/LogicalPlanRewriteRuleContext.java
        • tajo-client/src/main/proto/ClientProtos.proto
        • tajo-core/src/test/resources/results/TestIndexScan/testOnUnsortedTextKeys.result
        • tajo-storage/tajo-storage-hdfs/src/test/java/org/apache/tajo/storage/index/TestSingleCSVFileBSTIndex.java
        • tajo-core/src/main/java/org/apache/tajo/master/GlobalEngine.java
        • tajo-plan/src/main/java/org/apache/tajo/plan/rewrite/rules/SeqScanInfo.java
        • tajo-catalog/tajo-catalog-client/src/main/java/org/apache/tajo/catalog/AbstractCatalogClient.java
        • tajo-catalog/tajo-catalog-server/src/main/resources/schemas/mariadb/mariadb.xml
        • tajo-core/src/main/java/org/apache/tajo/querymaster/QueryMasterTask.java
        • tajo-plan/src/main/java/org/apache/tajo/plan/visitor/BasicLogicalPlanVisitor.java
        • tajo-plan/src/main/java/org/apache/tajo/plan/rewrite/rules/ProjectionPushDownRule.java
        • tajo-catalog/tajo-catalog-server/src/main/resources/schemas/postgresql/postgresql.xml
        • tajo-plan/src/main/java/org/apache/tajo/plan/expr/EvalTreeUtil.java
        • tajo-core/src/main/java/org/apache/tajo/engine/planner/PhysicalPlannerImpl.java
        • CHANGES
        • tajo-plan/src/main/java/org/apache/tajo/plan/logical/IndexScanNode.java
        • tajo-core/src/test/resources/results/TestIndexScan/testOnMultipleExprs.result
        • tajo-common/src/main/java/org/apache/tajo/util/TUtil.java
        • tajo-algebra/src/main/java/org/apache/tajo/algebra/CreateDatabase.java
        • tajo-catalog/tajo-catalog-server/src/main/java/org/apache/tajo/catalog/CatalogServer.java
        • tajo-plan/src/main/java/org/apache/tajo/plan/rewrite/rules/LogicalPlanEqualityTester.java
        • tajo-core/src/main/java/org/apache/tajo/master/exec/DDLExecutor.java
        • tajo-core/src/main/java/org/apache/tajo/worker/TajoWorkerClientService.java
        • tajo-cli/src/main/java/org/apache/tajo/cli/tools/TajoDump.java
        • tajo-algebra/src/main/java/org/apache/tajo/algebra/OpType.java
        • tajo-core/src/test/java/org/apache/tajo/engine/planner/physical/TestHashSemiJoinExec.java
        • tajo-plan/src/main/java/org/apache/tajo/plan/rewrite/rules/AccessPathRewriter.java
        • tajo-plan/src/main/java/org/apache/tajo/plan/rewrite/rules/AccessPathInfo.java
        • tajo-core/src/test/java/org/apache/tajo/querymaster/TestKillQuery.java
        • tajo-catalog/tajo-catalog-server/src/main/resources/schemas/derby/derby.xml
        • tajo-core/src/test/java/org/apache/tajo/engine/planner/physical/TestBSTIndexExec.java
        • tajo-core/src/test/resources/queries/TestCreateIndex/testCreateIndexOnMultiExprs.sql
        • tajo-catalog/tajo-catalog-server/src/main/resources/schemas/oracle/oracle.xml
        • tajo-core/src/test/resources/results/TestIndexScan/testWithGroupBy.result
        • tajo-core/src/test/resources/queries/TestCreateIndex/testCreateIndexWithCondition.sql
        • tajo-plan/src/main/java/org/apache/tajo/plan/LogicalPlan.java
        • tajo-plan/src/main/java/org/apache/tajo/plan/LogicalOptimizer.java
        • tajo-catalog/tajo-catalog-common/src/main/java/org/apache/tajo/catalog/CatalogUtil.java
        • tajo-core/src/main/java/org/apache/tajo/ws/rs/resources/QueryResource.java
        • tajo-algebra/src/main/java/org/apache/tajo/algebra/CreateTable.java
        • tajo-catalog/tajo-catalog-common/src/main/proto/CatalogProtos.proto
        • tajo-catalog/tajo-catalog-common/src/main/java/org/apache/tajo/catalog/IndexDesc.java
        • tajo-plan/src/main/java/org/apache/tajo/plan/expr/AlgebraicUtil.java
        • tajo-core/src/test/resources/results/TestIndexScan/testWithSort.result
        • tajo-core/src/test/resources/results/TestTajoDump/testDump3.result
        • tajo-catalog/tajo-catalog-server/src/main/java/org/apache/tajo/catalog/store/AbstractDBStore.java
        • tajo-core/src/test/java/org/apache/tajo/engine/planner/TestJoinOrderAlgorithm.java
        • tajo-common/src/main/java/org/apache/tajo/OverridableConf.java
        • tajo-core/src/main/java/org/apache/tajo/master/exec/QueryExecutor.java
        • tajo-core/src/main/java/org/apache/tajo/engine/codegen/ExecutorPreCompiler.java
        • tajo-core/src/main/java/org/apache/tajo/querymaster/Query.java
        • tajo-core/src/test/java/org/apache/tajo/engine/planner/physical/TestHashAntiJoinExec.java
        • tajo-client/src/main/java/org/apache/tajo/client/CatalogAdminClientImpl.java
        • tajo-core/src/test/java/org/apache/tajo/cli/tools/TestTajoDump.java
        • tajo-client/src/main/java/org/apache/tajo/client/SessionConnection.java
        • tajo-plan/src/main/java/org/apache/tajo/plan/algebra/BaseAlgebraVisitor.java
        • tajo-core/src/main/java/org/apache/tajo/engine/utils/test/ErrorInjectionRewriter.java
        • tajo-plan/src/main/java/org/apache/tajo/plan/LogicalPlanPreprocessor.java
        • tajo-storage/tajo-storage-hbase/src/main/java/org/apache/tajo/storage/hbase/HBaseTablespace.java
        • tajo-core/src/main/java/org/apache/tajo/master/exec/NonForwardQueryResultSystemScanner.java
        • tajo-core/src/test/java/org/apache/tajo/engine/planner/TestLogicalOptimizer.java
        • tajo-plan/src/main/java/org/apache/tajo/plan/rewrite/LogicalPlanRewriteEngine.java
        • tajo-catalog/tajo-catalog-common/src/main/java/org/apache/tajo/catalog/DDLBuilder.java
        • tajo-core/src/main/java/org/apache/tajo/engine/planner/physical/ProjectionExec.java
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Tajo-master-CODEGEN-build #420 (See https://builds.apache.org/job/Tajo-master-CODEGEN-build/420/ ) TAJO-1300 : Merge the index branch into the master branch. (jihoonson: rev 9840d378522ae921d32c04f21b3e0673fc9dd90c) tajo-storage/tajo-storage-hdfs/src/test/java/org/apache/tajo/storage/index/TestBSTIndex.java tajo-plan/src/main/java/org/apache/tajo/plan/rewrite/BaseLogicalPlanRewriteRuleProvider.java tajo-core/src/test/resources/results/TestIndexScan/testWithJoin.result tajo-catalog/tajo-catalog-server/src/main/java/org/apache/tajo/catalog/store/CatalogStore.java tajo-plan/src/main/java/org/apache/tajo/plan/logical/DropIndexNode.java tajo-plan/src/main/java/org/apache/tajo/plan/rewrite/BaseLogicalPlanRewriteEngine.java tajo-plan/src/main/java/org/apache/tajo/plan/rewrite/rules/FilterPushDownRule.java tajo-catalog/tajo-catalog-server/src/test/java/org/apache/tajo/catalog/TestCatalog.java tajo-common/src/main/java/org/apache/tajo/SessionVars.java tajo-plan/src/main/java/org/apache/tajo/plan/visitor/SimpleAlgebraVisitor.java tajo-client/src/main/java/org/apache/tajo/client/CatalogAdminClient.java tajo-algebra/src/main/java/org/apache/tajo/algebra/DropIndex.java tajo-core/src/test/java/org/apache/tajo/QueryTestCaseBase.java tajo-core/src/test/resources/results/TestIndexScan/testOnMultipleKeys.result tajo-plan/src/main/java/org/apache/tajo/plan/rewrite/rules/IndexScanInfo.java tajo-core/src/test/resources/queries/TestCreateIndex/testCreateIndexOnExpression.sql tajo-catalog/tajo-catalog-common/src/main/java/org/apache/tajo/catalog/CatalogConstants.java tajo-catalog/tajo-catalog-client/src/main/proto/CatalogProtocol.proto tajo-cli/src/main/java/org/apache/tajo/cli/tsql/commands/DescTableCommand.java tajo-plan/src/main/java/org/apache/tajo/plan/util/PlannerUtil.java tajo-common/src/main/java/org/apache/tajo/exception/ReturnStateUtil.java tajo-core/src/test/java/org/apache/tajo/engine/planner/TestLogicalPlanner.java tajo-core/src/test/java/org/apache/tajo/engine/planner/physical/TestSortIntersectExec.java tajo-core/src/main/java/org/apache/tajo/util/IndexUtil.java tajo-core/src/test/resources/results/TestTajoCli/testHelpSessionVars.result tajo-catalog/tajo-catalog-common/src/main/java/org/apache/tajo/catalog/TableDesc.java tajo-plan/src/main/java/org/apache/tajo/plan/logical/NodeType.java tajo-common/src/main/java/org/apache/tajo/exception/ErrorMessages.java tajo-core/src/main/java/org/apache/tajo/worker/TaskAttemptContext.java tajo-storage/tajo-storage-hbase/src/main/java/org/apache/tajo/storage/hbase/SortedInsertRewriter.java tajo-core/src/main/java/org/apache/tajo/engine/parser/SQLAnalyzer.java tajo-core/src/test/resources/queries/TestCreateIndex/testCreateIndex.sql tajo-catalog/tajo-catalog-drivers/tajo-hive/src/main/java/org/apache/tajo/catalog/store/HiveCatalogStore.java tajo-docs/src/main/sphinx/index/how_to_use.rst tajo-core/src/test/java/org/apache/tajo/engine/eval/ExprTestBase.java tajo-catalog/tajo-catalog-common/src/test/java/org/apache/tajo/catalog/TestIndexDesc.java tajo-core/src/main/antlr4/org/apache/tajo/engine/parser/SQLParser.g4 tajo-plan/src/main/java/org/apache/tajo/plan/serder/LogicalNodeDeserializer.java tajo-client/src/main/java/org/apache/tajo/client/TajoClientImpl.java tajo-catalog/tajo-catalog-common/src/main/java/org/apache/tajo/catalog/CatalogService.java tajo-core/src/test/java/org/apache/tajo/engine/query/TestIndexScan.java tajo-catalog/tajo-catalog-common/src/main/java/org/apache/tajo/catalog/exception/UndefinedIndexException.java tajo-plan/src/main/proto/Plan.proto tajo-core/src/main/java/org/apache/tajo/engine/planner/physical/BSTIndexScanExec.java tajo-core/src/test/resources/results/TestIndexScan/testOnMultipleKeys2.result tajo-algebra/src/main/java/org/apache/tajo/algebra/CreateIndex.java tajo-core/src/test/java/org/apache/tajo/master/TestExecutionBlockCursor.java tajo-plan/src/main/java/org/apache/tajo/plan/util/IndexUtil.java tajo-catalog/tajo-catalog-server/src/main/resources/schemas/mysql/mysql.xml tajo-core/src/main/java/org/apache/tajo/worker/TaskImpl.java tajo-plan/src/main/java/org/apache/tajo/plan/rewrite/rules/PartitionedTableRewriter.java tajo-core/src/test/resources/queries/TestCreateIndex/testCreateIndexOnLocation.sql tajo-algebra/src/main/java/org/apache/tajo/algebra/Insert.java tajo-jdbc/src/main/java/org/apache/tajo/jdbc/TajoStatement.java tajo-core/src/test/java/org/apache/tajo/engine/planner/physical/TestSortExec.java tajo-core/src/test/java/org/apache/tajo/engine/query/TestTablePartitions.java tajo-plan/src/main/java/org/apache/tajo/plan/visitor/LogicalPlanVisitor.java tajo-core/src/main/java/org/apache/tajo/engine/planner/physical/StoreIndexExec.java tajo-catalog/tajo-catalog-server/src/main/java/org/apache/tajo/catalog/store/MemStore.java tajo-plan/src/main/java/org/apache/tajo/plan/serder/LogicalNodeSerializer.java tajo-client/src/main/java/org/apache/tajo/client/QueryClientImpl.java tajo-storage/tajo-storage-common/src/main/java/org/apache/tajo/storage/Tablespace.java tajo-plan/src/main/java/org/apache/tajo/plan/algebra/AlgebraVisitor.java tajo-core/src/main/java/org/apache/tajo/engine/planner/global/GlobalPlanner.java tajo-plan/src/main/java/org/apache/tajo/plan/logical/CreateIndexNode.java tajo-core/src/test/resources/results/TestIndexScan/testOnSortedNonUniqueKeys.result tajo-core/src/test/java/org/apache/tajo/engine/query/TestCreateIndex.java tajo-core/src/main/java/org/apache/tajo/master/TajoMasterClientService.java tajo-storage/tajo-storage-common/src/main/java/org/apache/tajo/storage/OldStorageManager.java tajo-plan/src/main/java/org/apache/tajo/plan/visitor/ExplainLogicalPlanVisitor.java tajo-plan/src/main/java/org/apache/tajo/plan/rewrite/LogicalPlanRewriteRule.java tajo-catalog/tajo-catalog-server/src/main/java/org/apache/tajo/catalog/dictionary/IndexesTableDescriptor.java tajo-plan/src/main/java/org/apache/tajo/plan/LogicalPlanner.java tajo-client/src/main/proto/TajoMasterClientProtocol.proto tajo-catalog/tajo-catalog-common/src/main/java/org/apache/tajo/catalog/IndexMeta.java tajo-common/src/main/proto/errors.proto tajo-core/src/test/java/org/apache/tajo/engine/planner/physical/TestPhysicalPlanner.java tajo-plan/src/main/java/org/apache/tajo/plan/NamedExprsManager.java tajo-common/src/main/java/org/apache/tajo/conf/TajoConf.java tajo-core/src/test/resources/queries/TestCreateIndex/testCreateIndexOnMultiAttrs.sql tajo-plan/src/main/java/org/apache/tajo/plan/rewrite/LogicalPlanRewriteRuleContext.java tajo-client/src/main/proto/ClientProtos.proto tajo-core/src/test/resources/results/TestIndexScan/testOnUnsortedTextKeys.result tajo-storage/tajo-storage-hdfs/src/test/java/org/apache/tajo/storage/index/TestSingleCSVFileBSTIndex.java tajo-core/src/main/java/org/apache/tajo/master/GlobalEngine.java tajo-plan/src/main/java/org/apache/tajo/plan/rewrite/rules/SeqScanInfo.java tajo-catalog/tajo-catalog-client/src/main/java/org/apache/tajo/catalog/AbstractCatalogClient.java tajo-catalog/tajo-catalog-server/src/main/resources/schemas/mariadb/mariadb.xml tajo-core/src/main/java/org/apache/tajo/querymaster/QueryMasterTask.java tajo-plan/src/main/java/org/apache/tajo/plan/visitor/BasicLogicalPlanVisitor.java tajo-plan/src/main/java/org/apache/tajo/plan/rewrite/rules/ProjectionPushDownRule.java tajo-catalog/tajo-catalog-server/src/main/resources/schemas/postgresql/postgresql.xml tajo-plan/src/main/java/org/apache/tajo/plan/expr/EvalTreeUtil.java tajo-core/src/main/java/org/apache/tajo/engine/planner/PhysicalPlannerImpl.java CHANGES tajo-plan/src/main/java/org/apache/tajo/plan/logical/IndexScanNode.java tajo-core/src/test/resources/results/TestIndexScan/testOnMultipleExprs.result tajo-common/src/main/java/org/apache/tajo/util/TUtil.java tajo-algebra/src/main/java/org/apache/tajo/algebra/CreateDatabase.java tajo-catalog/tajo-catalog-server/src/main/java/org/apache/tajo/catalog/CatalogServer.java tajo-plan/src/main/java/org/apache/tajo/plan/rewrite/rules/LogicalPlanEqualityTester.java tajo-core/src/main/java/org/apache/tajo/master/exec/DDLExecutor.java tajo-core/src/main/java/org/apache/tajo/worker/TajoWorkerClientService.java tajo-cli/src/main/java/org/apache/tajo/cli/tools/TajoDump.java tajo-algebra/src/main/java/org/apache/tajo/algebra/OpType.java tajo-core/src/test/java/org/apache/tajo/engine/planner/physical/TestHashSemiJoinExec.java tajo-plan/src/main/java/org/apache/tajo/plan/rewrite/rules/AccessPathRewriter.java tajo-plan/src/main/java/org/apache/tajo/plan/rewrite/rules/AccessPathInfo.java tajo-core/src/test/java/org/apache/tajo/querymaster/TestKillQuery.java tajo-catalog/tajo-catalog-server/src/main/resources/schemas/derby/derby.xml tajo-core/src/test/java/org/apache/tajo/engine/planner/physical/TestBSTIndexExec.java tajo-core/src/test/resources/queries/TestCreateIndex/testCreateIndexOnMultiExprs.sql tajo-catalog/tajo-catalog-server/src/main/resources/schemas/oracle/oracle.xml tajo-core/src/test/resources/results/TestIndexScan/testWithGroupBy.result tajo-core/src/test/resources/queries/TestCreateIndex/testCreateIndexWithCondition.sql tajo-plan/src/main/java/org/apache/tajo/plan/LogicalPlan.java tajo-plan/src/main/java/org/apache/tajo/plan/LogicalOptimizer.java tajo-catalog/tajo-catalog-common/src/main/java/org/apache/tajo/catalog/CatalogUtil.java tajo-core/src/main/java/org/apache/tajo/ws/rs/resources/QueryResource.java tajo-algebra/src/main/java/org/apache/tajo/algebra/CreateTable.java tajo-catalog/tajo-catalog-common/src/main/proto/CatalogProtos.proto tajo-catalog/tajo-catalog-common/src/main/java/org/apache/tajo/catalog/IndexDesc.java tajo-plan/src/main/java/org/apache/tajo/plan/expr/AlgebraicUtil.java tajo-core/src/test/resources/results/TestIndexScan/testWithSort.result tajo-core/src/test/resources/results/TestTajoDump/testDump3.result tajo-catalog/tajo-catalog-server/src/main/java/org/apache/tajo/catalog/store/AbstractDBStore.java tajo-core/src/test/java/org/apache/tajo/engine/planner/TestJoinOrderAlgorithm.java tajo-common/src/main/java/org/apache/tajo/OverridableConf.java tajo-core/src/main/java/org/apache/tajo/master/exec/QueryExecutor.java tajo-core/src/main/java/org/apache/tajo/engine/codegen/ExecutorPreCompiler.java tajo-core/src/main/java/org/apache/tajo/querymaster/Query.java tajo-core/src/test/java/org/apache/tajo/engine/planner/physical/TestHashAntiJoinExec.java tajo-client/src/main/java/org/apache/tajo/client/CatalogAdminClientImpl.java tajo-core/src/test/java/org/apache/tajo/cli/tools/TestTajoDump.java tajo-client/src/main/java/org/apache/tajo/client/SessionConnection.java tajo-plan/src/main/java/org/apache/tajo/plan/algebra/BaseAlgebraVisitor.java tajo-core/src/main/java/org/apache/tajo/engine/utils/test/ErrorInjectionRewriter.java tajo-plan/src/main/java/org/apache/tajo/plan/LogicalPlanPreprocessor.java tajo-storage/tajo-storage-hbase/src/main/java/org/apache/tajo/storage/hbase/HBaseTablespace.java tajo-core/src/main/java/org/apache/tajo/master/exec/NonForwardQueryResultSystemScanner.java tajo-core/src/test/java/org/apache/tajo/engine/planner/TestLogicalOptimizer.java tajo-plan/src/main/java/org/apache/tajo/plan/rewrite/LogicalPlanRewriteEngine.java tajo-catalog/tajo-catalog-common/src/main/java/org/apache/tajo/catalog/DDLBuilder.java tajo-core/src/main/java/org/apache/tajo/engine/planner/physical/ProjectionExec.java
        Hide
        jihoonson Jihoon Son added a comment -

        Committed to master.

        Show
        jihoonson Jihoon Son added a comment - Committed to master.
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user jihoonson commented on the pull request:

        https://github.com/apache/tajo/pull/651#issuecomment-126180130

        I'm very happy with that I finally committed this patch. Thanks guys!

        Show
        githubbot ASF GitHub Bot added a comment - Github user jihoonson commented on the pull request: https://github.com/apache/tajo/pull/651#issuecomment-126180130 I'm very happy with that I finally committed this patch. Thanks guys!
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user asfgit closed the pull request at:

        https://github.com/apache/tajo/pull/651

        Show
        githubbot ASF GitHub Bot added a comment - Github user asfgit closed the pull request at: https://github.com/apache/tajo/pull/651
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user hyunsik commented on the pull request:

        https://github.com/apache/tajo/pull/651#issuecomment-126167782

        +1
        The patch looks good to me. Finally, we can merge it to master branch. Thank you for your effort.

        Show
        githubbot ASF GitHub Bot added a comment - Github user hyunsik commented on the pull request: https://github.com/apache/tajo/pull/651#issuecomment-126167782 +1 The patch looks good to me. Finally, we can merge it to master branch. Thank you for your effort.
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user blrunner commented on the pull request:

        https://github.com/apache/tajo/pull/651#issuecomment-124796163

        +1

        Thanks @jihoonson and I found that it worked successfully.
        Ship it.

        Show
        githubbot ASF GitHub Bot added a comment - Github user blrunner commented on the pull request: https://github.com/apache/tajo/pull/651#issuecomment-124796163 +1 Thanks @jihoonson and I found that it worked successfully. Ship it.
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user jihoonson commented on the pull request:

        https://github.com/apache/tajo/pull/651#issuecomment-124793057

        Thank. There is another problem at TajoDump. I've fixed it.

        Show
        githubbot ASF GitHub Bot added a comment - Github user jihoonson commented on the pull request: https://github.com/apache/tajo/pull/651#issuecomment-124793057 Thank. There is another problem at TajoDump. I've fixed it.
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user blrunner commented on the pull request:

        https://github.com/apache/tajo/pull/651#issuecomment-124788814

        I removed existing codes and got latest source codes of this PR. mvn clean install -Pparallel-test -DLOG_LEVEL=WARN -Dmaven.fork.count=2 have been finished successfully. But above situation is still reproduced. Could you check it again or recover it to as-found condition?

        Show
        githubbot ASF GitHub Bot added a comment - Github user blrunner commented on the pull request: https://github.com/apache/tajo/pull/651#issuecomment-124788814 I removed existing codes and got latest source codes of this PR. mvn clean install -Pparallel-test -DLOG_LEVEL=WARN -Dmaven.fork.count=2 have been finished successfully. But above situation is still reproduced. Could you check it again or recover it to as-found condition?
        Hide
        githubbot ASF GitHub Bot added a comment -
        Show
        githubbot ASF GitHub Bot added a comment - Github user jihoonson commented on the pull request: https://github.com/apache/tajo/pull/651#issuecomment-124449676 That error is already fixed at https://github.com/apache/tajo/commit/98b841dd543866997c1d2e806dc0d3a40cf6beee .
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user blrunner commented on the pull request:

        https://github.com/apache/tajo/pull/651#issuecomment-124432337

        After pulling latest codes, I found another error message on tsql as following:

        ```
        2015-07-24 17:12:00,767 ERROR org.apache.tajo.catalog.CatalogServer:
        Stack Trace:
        java.lang.StackOverflowError
        at org.apache.tajo.exception.ErrorMessages.getMessage(ErrorMessages.java:121)
        at org.apache.tajo.exception.TajoRuntimeException.<init>(TajoRuntimeException.java:43)
        at org.apache.tajo.exception.ErrorMessages.getMessage(ErrorMessages.java:136)
        at org.apache.tajo.exception.TajoRuntimeException.<init>(TajoRuntimeException.java:43)
        at org.apache.tajo.exception.ErrorMessages.getMessage(ErrorMessages.java:136)
        at org.apache.tajo.exception.TajoRuntimeException.<init>(TajoRuntimeException.java:43)
        at org.apache.tajo.exception.ErrorMessages.getMessage(ErrorMessages.java:136)
        at org.apache.tajo.exception.TajoRuntimeException.<init>(TajoRuntimeException.java:43)
        at org.apache.tajo.exception.ErrorMessages.getMessage(ErrorMessages.java:136)
        at org.apache.tajo.exception.TajoRuntimeException.<init>(TajoRuntimeException.java:43)
        at org.apache.tajo.exception.ErrorMessages.getMessage(ErrorMessages.java:136)
        at org.apache.tajo.exception.TajoRuntimeException.<init>(TajoRuntimeException.java:43)
        at org.apache.tajo.exception.ErrorMessages.getMessage(ErrorMessages.java:136)
        at org.apache.tajo.exception.TajoRuntimeException.<init>(TajoRuntimeException.java:43)
        at org.apache.tajo.exception.ErrorMessages.getMessage(ErrorMessages.java:136)
        at org.apache.tajo.exception.TajoRuntimeException.<init>(TajoRuntimeException.java:43)
        at org.apache.tajo.exception.ErrorMessages.getMessage(ErrorMessages.java:136)
        at org.apache.tajo.exception.TajoRuntimeException.<init>(TajoRuntimeException.java:43)
        at org.apache.tajo.exception.ErrorMessages.getMessage(ErrorMessages.java:136)
        ```

        This issue looks like an issue of the master branch without relevant to this PR. If you don't mind, could you recover relative codes? We need to book this issue with another JIRA issue.

        Show
        githubbot ASF GitHub Bot added a comment - Github user blrunner commented on the pull request: https://github.com/apache/tajo/pull/651#issuecomment-124432337 After pulling latest codes, I found another error message on tsql as following: ``` 2015-07-24 17:12:00,767 ERROR org.apache.tajo.catalog.CatalogServer: Stack Trace: java.lang.StackOverflowError at org.apache.tajo.exception.ErrorMessages.getMessage(ErrorMessages.java:121) at org.apache.tajo.exception.TajoRuntimeException.<init>(TajoRuntimeException.java:43) at org.apache.tajo.exception.ErrorMessages.getMessage(ErrorMessages.java:136) at org.apache.tajo.exception.TajoRuntimeException.<init>(TajoRuntimeException.java:43) at org.apache.tajo.exception.ErrorMessages.getMessage(ErrorMessages.java:136) at org.apache.tajo.exception.TajoRuntimeException.<init>(TajoRuntimeException.java:43) at org.apache.tajo.exception.ErrorMessages.getMessage(ErrorMessages.java:136) at org.apache.tajo.exception.TajoRuntimeException.<init>(TajoRuntimeException.java:43) at org.apache.tajo.exception.ErrorMessages.getMessage(ErrorMessages.java:136) at org.apache.tajo.exception.TajoRuntimeException.<init>(TajoRuntimeException.java:43) at org.apache.tajo.exception.ErrorMessages.getMessage(ErrorMessages.java:136) at org.apache.tajo.exception.TajoRuntimeException.<init>(TajoRuntimeException.java:43) at org.apache.tajo.exception.ErrorMessages.getMessage(ErrorMessages.java:136) at org.apache.tajo.exception.TajoRuntimeException.<init>(TajoRuntimeException.java:43) at org.apache.tajo.exception.ErrorMessages.getMessage(ErrorMessages.java:136) at org.apache.tajo.exception.TajoRuntimeException.<init>(TajoRuntimeException.java:43) at org.apache.tajo.exception.ErrorMessages.getMessage(ErrorMessages.java:136) at org.apache.tajo.exception.TajoRuntimeException.<init>(TajoRuntimeException.java:43) at org.apache.tajo.exception.ErrorMessages.getMessage(ErrorMessages.java:136) ``` This issue looks like an issue of the master branch without relevant to this PR. If you don't mind, could you recover relative codes? We need to book this issue with another JIRA issue.
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user blrunner commented on the pull request:

        https://github.com/apache/tajo/pull/651#issuecomment-124414320

        OK. I got it.

        Show
        githubbot ASF GitHub Bot added a comment - Github user blrunner commented on the pull request: https://github.com/apache/tajo/pull/651#issuecomment-124414320 OK. I got it.
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user jihoonson commented on the pull request:

        https://github.com/apache/tajo/pull/651#issuecomment-124412695

        Right, but it's not related to this issue.
        Honestly, I've already created an issue for documentation (https://issues.apache.org/jira/browse/TAJO-1705).

        Show
        githubbot ASF GitHub Bot added a comment - Github user jihoonson commented on the pull request: https://github.com/apache/tajo/pull/651#issuecomment-124412695 Right, but it's not related to this issue. Honestly, I've already created an issue for documentation ( https://issues.apache.org/jira/browse/TAJO-1705 ).
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user blrunner commented on the pull request:

        https://github.com/apache/tajo/pull/651#issuecomment-124410378

        I found that index scan just applied using an equals sign (=) in a predicate. If you add valid predicate operators for index scan and a few examples to document, it would be more helpful to users.

        Show
        githubbot ASF GitHub Bot added a comment - Github user blrunner commented on the pull request: https://github.com/apache/tajo/pull/651#issuecomment-124410378 I found that index scan just applied using an equals sign (=) in a predicate. If you add valid predicate operators for index scan and a few examples to document, it would be more helpful to users.
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user jihoonson commented on the pull request:

        https://github.com/apache/tajo/pull/651#issuecomment-124405331

        You are right. I will book those issues in other Jiras.

        Show
        githubbot ASF GitHub Bot added a comment - Github user jihoonson commented on the pull request: https://github.com/apache/tajo/pull/651#issuecomment-124405331 You are right. I will book those issues in other Jiras.
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user blrunner commented on the pull request:

        https://github.com/apache/tajo/pull/651#issuecomment-124400523

        I found that relative index functions of HiveCatalogStore just throws UnsupportedOperationException. Hive already provides relative index functions to client, for examples, createIndex, dropIndex, getIndex, alterIndex. Even if not in right now, you need to consider HiveCatalogStore implementation.

        Show
        githubbot ASF GitHub Bot added a comment - Github user blrunner commented on the pull request: https://github.com/apache/tajo/pull/651#issuecomment-124400523 I found that relative index functions of HiveCatalogStore just throws UnsupportedOperationException. Hive already provides relative index functions to client, for examples, createIndex, dropIndex, getIndex, alterIndex. Even if not in right now, you need to consider HiveCatalogStore implementation.
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user blrunner commented on the pull request:

        https://github.com/apache/tajo/pull/651#issuecomment-124374074

        OK, No problem.

        And if there is a message when executing explain command on tsql, this patch would be more good. Currently, I can't know whether index scan is applied or not before executing select statement as following:

        ```
        default> create external table lineitem (L_ORDERKEY bigint, L_PARTKEY bigint, L_SUPPKEY bigint, L_LINENUMBER bigint, L_QUANTITY double, L_EXTENDEDPRICE double, L_DISCOUNT double, L_TAX double, L_RETURNFLAG text, L_LINESTATUS text, L_SHIPDATE text, L_COMMITDATE text, L_RECEIPTDATE text, L_SHIPINSTRUCT text, L_SHIPMODE text, L_COMMENT text) using text with ('textfile.delimiter'='|') location 'hdfs://localhost:9010/tpch/lineitem';
        OK

        default> create index l_orderkey_idx on lineitem (l_orderkey);

        default> \set INDEX_ENABLED true

        default> explain select count from lineitem where l_orderkey = 1;
        explain
        -------------------------------
        GROUP_BY(3)()
        => exprs: (count())
        => target list: ?count (INT8)
        => out schema:

        {(1) ?count (INT8)}

        => in schema:

        {(0) }

        (5 rows, 0.034 sec, 0 B selected)

        default> select count from lineitem where l_orderkey = 1;
        Progress: 100%, response time: 0.581 sec
        ?count
        -------------------------------
        6
        (1 rows, 0.581 sec, 2 B selected)
        ```

        Show
        githubbot ASF GitHub Bot added a comment - Github user blrunner commented on the pull request: https://github.com/apache/tajo/pull/651#issuecomment-124374074 OK, No problem. And if there is a message when executing explain command on tsql, this patch would be more good. Currently, I can't know whether index scan is applied or not before executing select statement as following: ``` default> create external table lineitem (L_ORDERKEY bigint, L_PARTKEY bigint, L_SUPPKEY bigint, L_LINENUMBER bigint, L_QUANTITY double, L_EXTENDEDPRICE double, L_DISCOUNT double, L_TAX double, L_RETURNFLAG text, L_LINESTATUS text, L_SHIPDATE text, L_COMMITDATE text, L_RECEIPTDATE text, L_SHIPINSTRUCT text, L_SHIPMODE text, L_COMMENT text) using text with ('textfile.delimiter'='|') location 'hdfs://localhost:9010/tpch/lineitem'; OK default> create index l_orderkey_idx on lineitem (l_orderkey); default> \set INDEX_ENABLED true default> explain select count from lineitem where l_orderkey = 1; explain ------------------------------- GROUP_BY(3)() => exprs: (count()) => target list: ?count (INT8) => out schema: {(1) ?count (INT8)} => in schema: {(0) } (5 rows, 0.034 sec, 0 B selected) default> select count from lineitem where l_orderkey = 1; Progress: 100%, response time: 0.581 sec ?count ------------------------------- 6 (1 rows, 0.581 sec, 2 B selected) ```
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user jihoonson commented on the pull request:

        https://github.com/apache/tajo/pull/651#issuecomment-124357951

        @blrunner, thanks. This is a bug while applying the recent changes on error propagation. Since this exception is not exposed to users, I couldn't recognized it.
        Anyway, I'll fix soon.

        Show
        githubbot ASF GitHub Bot added a comment - Github user jihoonson commented on the pull request: https://github.com/apache/tajo/pull/651#issuecomment-124357951 @blrunner, thanks. This is a bug while applying the recent changes on error propagation. Since this exception is not exposed to users, I couldn't recognized it. Anyway, I'll fix soon.
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user blrunner commented on the pull request:

        https://github.com/apache/tajo/pull/651#issuecomment-124347074

        Hi @jihoonson

        I found that TajoMaster printed a error message when executing \d command on tsql as follows.

        1. Tsql

        ```
        default> \d nation;

        table name: default.nation
        table uri: hdfs://localhost:9010/tpch/nation
        store type: TEXT
        number of rows: unknown
        volume: 2.2 kB
        Options:
        'textfile.delimiter'='|'
        'text.delimiter'='|'

        schema:
        n_nationkey INT8
        n_name TEXT
        n_regionkey INT8
        n_comment TEXT

        ```

        1. TajoMaster

        ```
        2015-07-24 15:29:08,821 ERROR org.apache.tajo.catalog.CatalogServer:
        Stack Trace:
        org.apache.tajo.exception.TajoInternalError: internal error: no error message for UNDEFINED_INDEX
        at org.apache.tajo.exception.ErrorMessages.getMessage(ErrorMessages.java:119)
        at org.apache.tajo.exception.ReturnStateUtil.returnError(ReturnStateUtil.java:79)
        at org.apache.tajo.exception.ReturnStateUtil.errUndefinedIndex(ReturnStateUtil.java:176)
        at org.apache.tajo.catalog.CatalogServer$CatalogProtocolHandler.existIndexesByTable(CatalogServer.java:1136)
        at org.apache.tajo.catalog.AbstractCatalogClient.existIndexesByTable(AbstractCatalogClient.java:571)
        at org.apache.tajo.master.TajoMasterClientService$TajoMasterClientProtocolServiceHandler.existIndexesForTable(TajoMasterClientService.java:1066)
        at org.apache.tajo.ipc.TajoMasterClientProtocol$TajoMasterClientProtocolService$2.callBlockingMethod(TajoMasterClientProtocol.java:711)
        ```

        Show
        githubbot ASF GitHub Bot added a comment - Github user blrunner commented on the pull request: https://github.com/apache/tajo/pull/651#issuecomment-124347074 Hi @jihoonson I found that TajoMaster printed a error message when executing \d command on tsql as follows. Tsql ``` default> \d nation; table name: default.nation table uri: hdfs://localhost:9010/tpch/nation store type: TEXT number of rows: unknown volume: 2.2 kB Options: 'textfile.delimiter'='|' 'text.delimiter'='|' schema: n_nationkey INT8 n_name TEXT n_regionkey INT8 n_comment TEXT ``` TajoMaster ``` 2015-07-24 15:29:08,821 ERROR org.apache.tajo.catalog.CatalogServer: Stack Trace: org.apache.tajo.exception.TajoInternalError: internal error: no error message for UNDEFINED_INDEX at org.apache.tajo.exception.ErrorMessages.getMessage(ErrorMessages.java:119) at org.apache.tajo.exception.ReturnStateUtil.returnError(ReturnStateUtil.java:79) at org.apache.tajo.exception.ReturnStateUtil.errUndefinedIndex(ReturnStateUtil.java:176) at org.apache.tajo.catalog.CatalogServer$CatalogProtocolHandler.existIndexesByTable(CatalogServer.java:1136) at org.apache.tajo.catalog.AbstractCatalogClient.existIndexesByTable(AbstractCatalogClient.java:571) at org.apache.tajo.master.TajoMasterClientService$TajoMasterClientProtocolServiceHandler.existIndexesForTable(TajoMasterClientService.java:1066) at org.apache.tajo.ipc.TajoMasterClientProtocol$TajoMasterClientProtocolService$2.callBlockingMethod(TajoMasterClientProtocol.java:711) ```
        Hide
        githubbot ASF GitHub Bot added a comment -

        GitHub user jihoonson opened a pull request:

        https://github.com/apache/tajo/pull/651

        TAJO-1300: Merge the index branch into the master branch

        I think that ```index_support``` branch is ready to be merged into ```master```.
        In this branch, I've developed Tajo to support index feature. Here are some highlight features.

        There remains some additional features to improve the support on index including https://issues.apache.org/jira/browse/TAJO-1164. I'll proceed them in https://issues.apache.org/jira/browse/TAJO-835.

        You can merge this pull request into a Git repository by running:

        $ git pull https://github.com/jihoonson/tajo-2 TAJO-1300

        Alternatively you can review and apply these changes as the patch at:

        https://github.com/apache/tajo/pull/651.patch

        To close this pull request, make a commit to your master/trunk branch
        with (at least) the following in the commit message:

        This closes #651


        commit 31d524c51cc29da1c90b2431279ca63f24a19172
        Author: Jihoon Son <jihoonson@apache.org>
        Date: 2014-07-11T02:47:19Z

        TAJO-836: create index support. (jihoon)

        commit 6d6b968f3259acd5d6c82f41ae0e6945c68daa28
        Author: Jihoon Son <jihoonson@apache.org>
        Date: 2014-07-21T02:44:57Z

        Merge branch 'master' of http://git-wip-us.apache.org/repos/asf/tajo into index_support

        commit bf5b43c40f10de2bd47277209a726cfe92776f7b
        Author: Jihoon Son <jihoonson@apache.org>
        Date: 2014-09-25T12:13:55Z

        Merge branch 'master' of http://git-wip-us.apache.org/repos/asf/tajo into index_support

        Conflicts:
        tajo-core/src/main/java/org/apache/tajo/engine/planner/LogicalPlanPreprocessor.java
        tajo-core/src/main/java/org/apache/tajo/engine/planner/LogicalPlanner.java
        tajo-core/src/test/java/org/apache/tajo/engine/planner/physical/TestPhysicalPlanner.java

        commit 3777f58251e61cd965b8bf5200f9a59921adfe3f
        Author: Jihoon Son <jihoonson@apache.org>
        Date: 2014-10-01T22:09:23Z

        Merge branch 'master' of http://git-wip-us.apache.org/repos/asf/tajo into index_support

        commit d1d4d25fb0d08f0846e758c43caf3e3f3b1bc543
        Author: Jihoon Son <jihoonson@apache.org>
        Date: 2014-10-02T00:40:58Z

        tmp

        commit 7f98fe78613ce6349c94dba559f7e4b4197b18e9
        Author: Jihoon Son <jihoonson@apache.org>
        Date: 2014-10-02T08:49:58Z

        test success

        commit 6ced5a10881e93fd09406cd4dba6dd88e54c09bd
        Author: Jihoon Son <jihoonson@apache.org>
        Date: 2014-10-02T14:50:27Z

        Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/tajo into index_support

        commit e54dd8e014776f0ef58774013c06120cc01eeb54
        Author: Jihoon Son <jihoonson@apache.org>
        Date: 2014-10-02T14:52:57Z

        Merge branch 'index_support' of github.com:jihoonson/tajo-2 into index_support

        commit 375eb1ab2d457f577cb22a2239eec017fa7b6409
        Author: Jihoon Son <jihoonson@apache.org>
        Date: 2014-10-03T04:08:48Z

        remove commented out codes

        commit afc2c3eb3058a0473b7fb2e4808e5b0dbd71df4e
        Author: Jihoon Son <jihoonson@apache.org>
        Date: 2014-10-10T04:32:25Z

        Merge branch 'master' of http://git-wip-us.apache.org/repos/asf/tajo into index_support

        Conflicts:
        tajo-catalog/tajo-catalog-common/src/main/java/org/apache/tajo/catalog/IndexDesc.java

        commit daba9fdae460c163444f00dfc3a79d2d8d220aa7
        Author: Jihoon Son <jihoonson@apache.org>
        Date: 2014-10-12T07:51:05Z

        Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/tajo into index_support

        commit 27880386af0781e4cd6333e2b11769b04592192c
        Author: Jihoon Son <jihoonson@apache.org>
        Date: 2014-10-14T08:19:54Z

        Merge branch 'master' of http://git-wip-us.apache.org/repos/asf/tajo into index_support

        commit f98b78cf993ef9194ef494f669bec49d3d663ff4
        Author: Jihoon Son <jihoonson@apache.org>
        Date: 2014-10-14T08:20:34Z

        Merge branch 'index_support' of http://git-wip-us.apache.org/repos/asf/tajo into index_support

        commit fbb95ec62fd52d648e60424e249ffc390ad1ee39
        Author: Jihoon Son <jihoonson@apache.org>
        Date: 2014-10-16T06:02:34Z

        Merge branch 'master' of http://git-wip-us.apache.org/repos/asf/tajo into index_support

        commit 738c3a1de4d75702fb8e0c54de4c8f3af4b8f83b
        Author: Jihoon Son <jihoonson@apache.org>
        Date: 2014-10-17T01:48:16Z

        Merge branch 'master' of http://git-wip-us.apache.org/repos/asf/tajo into index_support

        commit cd613507907440acd652341138c6d76a1e9ae568
        Author: Jihoon Son <jihoonson@apache.org>
        Date: 2014-10-19T11:21:55Z

        Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/tajo into index_support

        commit 322da3885d7e806b875158725cc3885e39f60be2
        Author: Jihoon Son <jihoonson@apache.org>
        Date: 2014-10-19T11:22:08Z

        Merge branch 'index_support' of https://git-wip-us.apache.org/repos/asf/tajo into index_support

        commit 4fb0f80e297c91b4940c214219eff1aae3959804
        Author: Jihoon Son <jihoonson@apache.org>
        Date: 2014-10-23T11:37:13Z

        Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/tajo into index_support

        commit 4263b430063342bb28c887ad63df9bce2fa48fde
        Author: Jihoon Son <jihoonson@apache.org>
        Date: 2014-10-26T05:45:34Z

        Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/tajo into index_support

        Conflicts:
        tajo-plan/src/main/java/org/apache/tajo/plan/visitor/BasicLogicalPlanVisitor.java
        tajo-plan/src/main/java/org/apache/tajo/plan/visitor/LogicalPlanVisitor.java

        commit 561cae639bdd21f9a0387979c3b6bc22a55eb086
        Author: Jihoon Son <jihoonson@apache.org>
        Date: 2014-10-27T09:01:35Z

        Merge branch 'master' of http://git-wip-us.apache.org/repos/asf/tajo into index_support

        commit c669b62cd13a5635d4fa557efb5fc278567997a7
        Author: Jihoon Son <jihoonson@apache.org>
        Date: 2014-10-28T02:20:37Z

        Merge branch 'master' of http://git-wip-us.apache.org/repos/asf/tajo into index_support

        commit 7970ac2d5cba8cff0cba361e70e827de125ab9d8
        Author: Jihoon Son <jihoonson@apache.org>
        Date: 2014-10-29T05:49:13Z

        Merge branch 'master' of http://git-wip-us.apache.org/repos/asf/tajo into index_support

        commit 567b1c4832607383ccab1cc3bdd282f732434657
        Author: Jihoon Son <jihoonson@apache.org>
        Date: 2014-10-31T05:17:24Z

        Merge branch 'master' of http://git-wip-us.apache.org/repos/asf/tajo into index_support

        commit 6a798c088c4528550442a05eb3a428b999ece6f0
        Author: Jihoon Son <jihoonson@apache.org>
        Date: 2014-11-02T10:58:43Z

        Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/tajo into index_support

        commit 70de1b443c2dd85b4ec87267c33c409c520b5854
        Author: Jihoon Son <jihoonson@apache.org>
        Date: 2014-11-04T12:31:35Z

        Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/tajo into index_support

        commit 0dc55a882c8922d0d36cdbb1174e162ec5d97030
        Author: Jihoon Son <jihoonson@apache.org>
        Date: 2014-11-09T09:03:57Z

        Merge branch 'master' of http://git-wip-us.apache.org/repos/asf/tajo into index_support

        commit 62bd3a3401476ca88c45b67b8dd07d3f76b3cc8d
        Author: Jihoon Son <jihoonson@apache.org>
        Date: 2014-11-10T08:18:51Z

        Merge branch 'master' of http://git-wip-us.apache.org/repos/asf/tajo into index_support

        commit a5298fb216005ec30ca9774165132d0af92eaeb0
        Author: Jihoon Son <jihoonson@apache.org>
        Date: 2014-11-10T11:30:34Z

        Merge branch 'master' of http://git-wip-us.apache.org/repos/asf/tajo into index_support

        commit 4a364cf08a22ab50eb50eb6b8ca373e2f6f0ce42
        Author: Jihoon Son <jihoonson@apache.org>
        Date: 2014-11-11T14:24:30Z

        Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/tajo into index_support

        commit 02b827e2499036374be852c2d98526ae8f0f0d84
        Author: Jihoon Son <jihoonson@apache.org>
        Date: 2014-11-14T04:46:08Z

        Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/tajo into index_support

        Conflicts:
        tajo-catalog/tajo-catalog-server/src/main/resources/schemas/derby/indexes.sql


        Show
        githubbot ASF GitHub Bot added a comment - GitHub user jihoonson opened a pull request: https://github.com/apache/tajo/pull/651 TAJO-1300 : Merge the index branch into the master branch I think that ```index_support``` branch is ready to be merged into ```master```. In this branch, I've developed Tajo to support index feature. Here are some highlight features. Support CREATE / DROP INDEX statement ( TAJO-836 , TAJO-837 ) Improve query planner to utilize index if possible ( TAJO-838 ) Support index metadata backup and restore ( TAJO-1301 , TAJO-1302 ) There remains some additional features to improve the support on index including https://issues.apache.org/jira/browse/TAJO-1164 . I'll proceed them in https://issues.apache.org/jira/browse/TAJO-835 . You can merge this pull request into a Git repository by running: $ git pull https://github.com/jihoonson/tajo-2 TAJO-1300 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/tajo/pull/651.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #651 commit 31d524c51cc29da1c90b2431279ca63f24a19172 Author: Jihoon Son <jihoonson@apache.org> Date: 2014-07-11T02:47:19Z TAJO-836 : create index support. (jihoon) commit 6d6b968f3259acd5d6c82f41ae0e6945c68daa28 Author: Jihoon Son <jihoonson@apache.org> Date: 2014-07-21T02:44:57Z Merge branch 'master' of http://git-wip-us.apache.org/repos/asf/tajo into index_support commit bf5b43c40f10de2bd47277209a726cfe92776f7b Author: Jihoon Son <jihoonson@apache.org> Date: 2014-09-25T12:13:55Z Merge branch 'master' of http://git-wip-us.apache.org/repos/asf/tajo into index_support Conflicts: tajo-core/src/main/java/org/apache/tajo/engine/planner/LogicalPlanPreprocessor.java tajo-core/src/main/java/org/apache/tajo/engine/planner/LogicalPlanner.java tajo-core/src/test/java/org/apache/tajo/engine/planner/physical/TestPhysicalPlanner.java commit 3777f58251e61cd965b8bf5200f9a59921adfe3f Author: Jihoon Son <jihoonson@apache.org> Date: 2014-10-01T22:09:23Z Merge branch 'master' of http://git-wip-us.apache.org/repos/asf/tajo into index_support commit d1d4d25fb0d08f0846e758c43caf3e3f3b1bc543 Author: Jihoon Son <jihoonson@apache.org> Date: 2014-10-02T00:40:58Z tmp commit 7f98fe78613ce6349c94dba559f7e4b4197b18e9 Author: Jihoon Son <jihoonson@apache.org> Date: 2014-10-02T08:49:58Z test success commit 6ced5a10881e93fd09406cd4dba6dd88e54c09bd Author: Jihoon Son <jihoonson@apache.org> Date: 2014-10-02T14:50:27Z Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/tajo into index_support commit e54dd8e014776f0ef58774013c06120cc01eeb54 Author: Jihoon Son <jihoonson@apache.org> Date: 2014-10-02T14:52:57Z Merge branch 'index_support' of github.com:jihoonson/tajo-2 into index_support commit 375eb1ab2d457f577cb22a2239eec017fa7b6409 Author: Jihoon Son <jihoonson@apache.org> Date: 2014-10-03T04:08:48Z remove commented out codes commit afc2c3eb3058a0473b7fb2e4808e5b0dbd71df4e Author: Jihoon Son <jihoonson@apache.org> Date: 2014-10-10T04:32:25Z Merge branch 'master' of http://git-wip-us.apache.org/repos/asf/tajo into index_support Conflicts: tajo-catalog/tajo-catalog-common/src/main/java/org/apache/tajo/catalog/IndexDesc.java commit daba9fdae460c163444f00dfc3a79d2d8d220aa7 Author: Jihoon Son <jihoonson@apache.org> Date: 2014-10-12T07:51:05Z Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/tajo into index_support commit 27880386af0781e4cd6333e2b11769b04592192c Author: Jihoon Son <jihoonson@apache.org> Date: 2014-10-14T08:19:54Z Merge branch 'master' of http://git-wip-us.apache.org/repos/asf/tajo into index_support commit f98b78cf993ef9194ef494f669bec49d3d663ff4 Author: Jihoon Son <jihoonson@apache.org> Date: 2014-10-14T08:20:34Z Merge branch 'index_support' of http://git-wip-us.apache.org/repos/asf/tajo into index_support commit fbb95ec62fd52d648e60424e249ffc390ad1ee39 Author: Jihoon Son <jihoonson@apache.org> Date: 2014-10-16T06:02:34Z Merge branch 'master' of http://git-wip-us.apache.org/repos/asf/tajo into index_support commit 738c3a1de4d75702fb8e0c54de4c8f3af4b8f83b Author: Jihoon Son <jihoonson@apache.org> Date: 2014-10-17T01:48:16Z Merge branch 'master' of http://git-wip-us.apache.org/repos/asf/tajo into index_support commit cd613507907440acd652341138c6d76a1e9ae568 Author: Jihoon Son <jihoonson@apache.org> Date: 2014-10-19T11:21:55Z Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/tajo into index_support commit 322da3885d7e806b875158725cc3885e39f60be2 Author: Jihoon Son <jihoonson@apache.org> Date: 2014-10-19T11:22:08Z Merge branch 'index_support' of https://git-wip-us.apache.org/repos/asf/tajo into index_support commit 4fb0f80e297c91b4940c214219eff1aae3959804 Author: Jihoon Son <jihoonson@apache.org> Date: 2014-10-23T11:37:13Z Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/tajo into index_support commit 4263b430063342bb28c887ad63df9bce2fa48fde Author: Jihoon Son <jihoonson@apache.org> Date: 2014-10-26T05:45:34Z Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/tajo into index_support Conflicts: tajo-plan/src/main/java/org/apache/tajo/plan/visitor/BasicLogicalPlanVisitor.java tajo-plan/src/main/java/org/apache/tajo/plan/visitor/LogicalPlanVisitor.java commit 561cae639bdd21f9a0387979c3b6bc22a55eb086 Author: Jihoon Son <jihoonson@apache.org> Date: 2014-10-27T09:01:35Z Merge branch 'master' of http://git-wip-us.apache.org/repos/asf/tajo into index_support commit c669b62cd13a5635d4fa557efb5fc278567997a7 Author: Jihoon Son <jihoonson@apache.org> Date: 2014-10-28T02:20:37Z Merge branch 'master' of http://git-wip-us.apache.org/repos/asf/tajo into index_support commit 7970ac2d5cba8cff0cba361e70e827de125ab9d8 Author: Jihoon Son <jihoonson@apache.org> Date: 2014-10-29T05:49:13Z Merge branch 'master' of http://git-wip-us.apache.org/repos/asf/tajo into index_support commit 567b1c4832607383ccab1cc3bdd282f732434657 Author: Jihoon Son <jihoonson@apache.org> Date: 2014-10-31T05:17:24Z Merge branch 'master' of http://git-wip-us.apache.org/repos/asf/tajo into index_support commit 6a798c088c4528550442a05eb3a428b999ece6f0 Author: Jihoon Son <jihoonson@apache.org> Date: 2014-11-02T10:58:43Z Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/tajo into index_support commit 70de1b443c2dd85b4ec87267c33c409c520b5854 Author: Jihoon Son <jihoonson@apache.org> Date: 2014-11-04T12:31:35Z Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/tajo into index_support commit 0dc55a882c8922d0d36cdbb1174e162ec5d97030 Author: Jihoon Son <jihoonson@apache.org> Date: 2014-11-09T09:03:57Z Merge branch 'master' of http://git-wip-us.apache.org/repos/asf/tajo into index_support commit 62bd3a3401476ca88c45b67b8dd07d3f76b3cc8d Author: Jihoon Son <jihoonson@apache.org> Date: 2014-11-10T08:18:51Z Merge branch 'master' of http://git-wip-us.apache.org/repos/asf/tajo into index_support commit a5298fb216005ec30ca9774165132d0af92eaeb0 Author: Jihoon Son <jihoonson@apache.org> Date: 2014-11-10T11:30:34Z Merge branch 'master' of http://git-wip-us.apache.org/repos/asf/tajo into index_support commit 4a364cf08a22ab50eb50eb6b8ca373e2f6f0ce42 Author: Jihoon Son <jihoonson@apache.org> Date: 2014-11-11T14:24:30Z Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/tajo into index_support commit 02b827e2499036374be852c2d98526ae8f0f0d84 Author: Jihoon Son <jihoonson@apache.org> Date: 2014-11-14T04:46:08Z Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/tajo into index_support Conflicts: tajo-catalog/tajo-catalog-server/src/main/resources/schemas/derby/indexes.sql

          People

          • Assignee:
            jihoonson Jihoon Son
            Reporter:
            jihoonson Jihoon Son
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development