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

Allow external catalog store for unit testing

    Details

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

      Description

      Tajo supports various kinds of database systems for catalog. However, it is very difficult to test every function of catalog with them so far.

      One easy way for testing is to use unit testing. We can easily test each database system under various circumstances using existing tests.

        Activity

        Hide
        githubbot ASF GitHub Bot added a comment -

        GitHub user jihoonson opened a pull request:

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

        TAJO-1813: Allow external catalog store for unit testing

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

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

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

        https://github.com/apache/tajo/pull/749.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 #749


        commit d3404c9e8353dca8046005704b6d12774827f7c9
        Author: Jihoon Son <jihoonson@apache.org>
        Date: 2015-09-09T07:05:01Z

        TAJO-1813


        Show
        githubbot ASF GitHub Bot added a comment - GitHub user jihoonson opened a pull request: https://github.com/apache/tajo/pull/749 TAJO-1813 : Allow external catalog store for unit testing You can merge this pull request into a Git repository by running: $ git pull https://github.com/jihoonson/tajo-2 TAJO-1813 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/tajo/pull/749.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 #749 commit d3404c9e8353dca8046005704b6d12774827f7c9 Author: Jihoon Son <jihoonson@apache.org> Date: 2015-09-09T07:05:01Z TAJO-1813
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user jihoonson commented on the pull request:

        https://github.com/apache/tajo/pull/749#issuecomment-138809217

        This patch is only to test catalog.
        I've added two more unit tests, i.e., ```TestCatalogAgainstCaseSensitivity``` and ```TestCatalogExceptions```. As shown in those names, one of them is to test catalog functionalities against text case sensitivity and the other is to test if catalog throws exceptions properly.
        I've verified every unit test of ```tajo-catalog-server``` with pgsql, mysql, mariadb, and derby.

        Show
        githubbot ASF GitHub Bot added a comment - Github user jihoonson commented on the pull request: https://github.com/apache/tajo/pull/749#issuecomment-138809217 This patch is only to test catalog. I've added two more unit tests, i.e., ```TestCatalogAgainstCaseSensitivity``` and ```TestCatalogExceptions```. As shown in those names, one of them is to test catalog functionalities against text case sensitivity and the other is to test if catalog throws exceptions properly. I've verified every unit test of ```tajo-catalog-server``` with pgsql, mysql, mariadb, and derby.
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user jihoonson commented on the pull request:

        https://github.com/apache/tajo/pull/749#issuecomment-138926109

        I miss tests for some partition APIs and nested fields. I'll add them.

        Show
        githubbot ASF GitHub Bot added a comment - Github user jihoonson commented on the pull request: https://github.com/apache/tajo/pull/749#issuecomment-138926109 I miss tests for some partition APIs and nested fields. I'll add them.
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user jihoonson commented on the pull request:

        https://github.com/apache/tajo/pull/749#issuecomment-139436292

        This patch is ready for review.

        Show
        githubbot ASF GitHub Bot added a comment - Github user jihoonson commented on the pull request: https://github.com/apache/tajo/pull/749#issuecomment-139436292 This patch is ready for review.
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user hyunsik commented on a diff in the pull request:

        https://github.com/apache/tajo/pull/749#discussion_r39259540

        — Diff: tajo-catalog/tajo-catalog-client/src/main/java/org/apache/tajo/catalog/AbstractCatalogClient.java —
        @@ -598,18 +604,15 @@ public final boolean existsTable(final String tableName) {
        }

        @Override

        • public final boolean createIndex(final IndexDesc index) {
          + public final void createIndex(final IndexDesc index) throws DuplicateIndexException {
            • End diff –

        If index creation is based on table, it may need ``Undefined(Table|Database)Exception``.

        Show
        githubbot ASF GitHub Bot added a comment - Github user hyunsik commented on a diff in the pull request: https://github.com/apache/tajo/pull/749#discussion_r39259540 — Diff: tajo-catalog/tajo-catalog-client/src/main/java/org/apache/tajo/catalog/AbstractCatalogClient.java — @@ -598,18 +604,15 @@ public final boolean existsTable(final String tableName) { } @Override public final boolean createIndex(final IndexDesc index) { + public final void createIndex(final IndexDesc index) throws DuplicateIndexException { End diff – If index creation is based on table, it may need ``Undefined(Table|Database)Exception``.
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user hyunsik commented on a diff in the pull request:

        https://github.com/apache/tajo/pull/749#discussion_r39259558

        — Diff: tajo-catalog/tajo-catalog-common/src/main/java/org/apache/tajo/catalog/CatalogService.java —
        @@ -169,7 +169,7 @@ PartitionDescProto getPartition(String databaseName, String tableName, String pa
        void addPartitions(String databaseName, String tableName, List<PartitionDescProto> partitions
        , boolean ifNotExists) throws UndefinedTableException, DuplicatePartitionException, UndefinedPartitionMethodException, UndefinedDatabaseException;

        • boolean createIndex(IndexDesc index);
          + void createIndex(IndexDesc index) throws DuplicateIndexException;
            • End diff –

        If index creation is based on table, it may need ``Undefined(Table|Database)Exception``.

        Show
        githubbot ASF GitHub Bot added a comment - Github user hyunsik commented on a diff in the pull request: https://github.com/apache/tajo/pull/749#discussion_r39259558 — Diff: tajo-catalog/tajo-catalog-common/src/main/java/org/apache/tajo/catalog/CatalogService.java — @@ -169,7 +169,7 @@ PartitionDescProto getPartition(String databaseName, String tableName, String pa void addPartitions(String databaseName, String tableName, List<PartitionDescProto> partitions , boolean ifNotExists) throws UndefinedTableException, DuplicatePartitionException, UndefinedPartitionMethodException, UndefinedDatabaseException; boolean createIndex(IndexDesc index); + void createIndex(IndexDesc index) throws DuplicateIndexException; End diff – If index creation is based on table, it may need ``Undefined(Table|Database)Exception``.
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user hyunsik commented on a diff in the pull request:

        https://github.com/apache/tajo/pull/749#discussion_r39259603

        — Diff: tajo-catalog/tajo-catalog-server/pom.xml —
        @@ -127,6 +127,15 @@
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-report-plugin</artifactId>
        </plugin>
        + <plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-surefire-plugin</artifactId><configuration>
        + <systemProperties>
        + <tajo.test>TRUE</tajo.test>
        + </systemProperties>
        + <additionalClasspathElements>
        + <additionalClasspathElement>/home/jihoon/다운로드/postgresql-9.4-1201.jdbc4.jar</additionalClasspathElement>
        — End diff –

        It seems to be a mistake?

        Show
        githubbot ASF GitHub Bot added a comment - Github user hyunsik commented on a diff in the pull request: https://github.com/apache/tajo/pull/749#discussion_r39259603 — Diff: tajo-catalog/tajo-catalog-server/pom.xml — @@ -127,6 +127,15 @@ <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-report-plugin</artifactId> </plugin> + <plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-surefire-plugin</artifactId><configuration> + <systemProperties> + <tajo.test>TRUE</tajo.test> + </systemProperties> + <additionalClasspathElements> + <additionalClasspathElement>/home/jihoon/다운로드/postgresql-9.4-1201.jdbc4.jar</additionalClasspathElement> — End diff – It seems to be a mistake?
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user hyunsik commented on a diff in the pull request:

        https://github.com/apache/tajo/pull/749#discussion_r39261237

        — Diff: tajo-catalog/tajo-catalog-server/src/main/resources/schemas/mariadb/mariadb.xml —
        @@ -19,6 +19,7 @@
        <tns:store xmlns:tns="http://tajo.apache.org/catalogstore" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://tajo.apache.org/catalogstore ../DBMSSchemaDefinition.xsd ">
        <!--
        Catalog base version history
        + * 9 - TODO
        — End diff –

        You may misse this description.

        Show
        githubbot ASF GitHub Bot added a comment - Github user hyunsik commented on a diff in the pull request: https://github.com/apache/tajo/pull/749#discussion_r39261237 — Diff: tajo-catalog/tajo-catalog-server/src/main/resources/schemas/mariadb/mariadb.xml — @@ -19,6 +19,7 @@ <tns:store xmlns:tns="http://tajo.apache.org/catalogstore" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://tajo.apache.org/catalogstore ../DBMSSchemaDefinition.xsd "> <!-- Catalog base version history + * 9 - TODO — End diff – You may misse this description.
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user hyunsik commented on a diff in the pull request:

        https://github.com/apache/tajo/pull/749#discussion_r39261266

        — Diff: tajo-catalog/tajo-catalog-server/src/main/resources/schemas/mysql/mysql.xml —
        @@ -19,6 +19,7 @@
        <tns:store xmlns:tns="http://tajo.apache.org/catalogstore" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://tajo.apache.org/catalogstore ../DBMSSchemaDefinition.xsd ">
        <!--
        Catalog base version history
        + * 9 - TODO
        — End diff –

        You may miss this description.

        Show
        githubbot ASF GitHub Bot added a comment - Github user hyunsik commented on a diff in the pull request: https://github.com/apache/tajo/pull/749#discussion_r39261266 — Diff: tajo-catalog/tajo-catalog-server/src/main/resources/schemas/mysql/mysql.xml — @@ -19,6 +19,7 @@ <tns:store xmlns:tns="http://tajo.apache.org/catalogstore" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://tajo.apache.org/catalogstore ../DBMSSchemaDefinition.xsd "> <!-- Catalog base version history + * 9 - TODO — End diff – You may miss this description.
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user hyunsik commented on a diff in the pull request:

        https://github.com/apache/tajo/pull/749#discussion_r39261287

        — Diff: tajo-catalog/tajo-catalog-server/src/main/resources/schemas/oracle/oracle.xml —
        @@ -19,6 +19,7 @@
        <tns:store xmlns:tns="http://tajo.apache.org/catalogstore" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://tajo.apache.org/catalogstore ../DBMSSchemaDefinition.xsd ">
        <!--
        Catalog base version history
        + * 9 - TODO
        — End diff –

        You seem to miss this description.

        Show
        githubbot ASF GitHub Bot added a comment - Github user hyunsik commented on a diff in the pull request: https://github.com/apache/tajo/pull/749#discussion_r39261287 — Diff: tajo-catalog/tajo-catalog-server/src/main/resources/schemas/oracle/oracle.xml — @@ -19,6 +19,7 @@ <tns:store xmlns:tns="http://tajo.apache.org/catalogstore" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://tajo.apache.org/catalogstore ../DBMSSchemaDefinition.xsd "> <!-- Catalog base version history + * 9 - TODO — End diff – You seem to miss this description.
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user hyunsik commented on a diff in the pull request:

        https://github.com/apache/tajo/pull/749#discussion_r39261289

        — Diff: tajo-catalog/tajo-catalog-server/src/main/resources/schemas/postgresql/postgresql.xml —
        @@ -21,6 +21,7 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://tajo.apache.org/catalogstore ../DBMSSchemaDefinition.xsd ">
        <!--
        Catalog base version history
        + * 9 - TODO
        — End diff –

        You seem to miss this description.

        Show
        githubbot ASF GitHub Bot added a comment - Github user hyunsik commented on a diff in the pull request: https://github.com/apache/tajo/pull/749#discussion_r39261289 — Diff: tajo-catalog/tajo-catalog-server/src/main/resources/schemas/postgresql/postgresql.xml — @@ -21,6 +21,7 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://tajo.apache.org/catalogstore ../DBMSSchemaDefinition.xsd "> <!-- Catalog base version history + * 9 - TODO — End diff – You seem to miss this description.
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user hyunsik commented on a diff in the pull request:

        https://github.com/apache/tajo/pull/749#discussion_r39261725

        — Diff: tajo-catalog/tajo-catalog-server/src/test/java/org/apache/tajo/catalog/TestCatalogExceptions.java —
        @@ -0,0 +1,293 @@
        +/**
        + * Licensed to the Apache Software Foundation (ASF) under one
        + * or more contributor license agreements. See the NOTICE file
        + * distributed with this work for additional information
        + * regarding copyright ownership. The ASF licenses this file
        + * to you under the Apache License, Version 2.0 (the
        + * "License"); you may not use this file except in compliance
        + * with the License. You may obtain a copy of the License at
        + *
        + * http://www.apache.org/licenses/LICENSE-2.0
        + *
        + * Unless required by applicable law or agreed to in writing, software
        + * distributed under the License is distributed on an "AS IS" BASIS,
        + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
        + * See the License for the specific language governing permissions and
        + * limitations under the License.
        + */
        +
        +package org.apache.tajo.catalog;
        +
        +import org.apache.hadoop.fs.Path;
        +import org.apache.tajo.TajoConstants;
        +import org.apache.tajo.catalog.partition.PartitionDesc;
        +import org.apache.tajo.catalog.proto.CatalogProtos.AlterTablespaceProto;
        +import org.apache.tajo.catalog.proto.CatalogProtos.AlterTablespaceProto.AlterTablespaceCommand;
        +import org.apache.tajo.catalog.proto.CatalogProtos.AlterTablespaceProto.AlterTablespaceType;
        +import org.apache.tajo.catalog.proto.CatalogProtos.AlterTablespaceProto.SetLocation;
        +import org.apache.tajo.catalog.proto.CatalogProtos.IndexMethod;
        +import org.apache.tajo.catalog.proto.CatalogProtos.TableStatsProto;
        +import org.apache.tajo.catalog.proto.CatalogProtos.UpdateTableStatsProto;
        +import org.apache.tajo.common.TajoDataTypes.Type;
        +import org.apache.tajo.exception.*;
        +import org.apache.tajo.util.CommonTestingUtil;
        +import org.apache.tajo.util.KeyValueSet;
        +import org.junit.AfterClass;
        +import org.junit.BeforeClass;
        +import org.junit.Test;
        +
        +import java.net.URI;
        +import java.util.UUID;
        +
        +public class TestCatalogExceptions {
        +
        + static CatalogServer server;
        + static CatalogService catalog;
        +
        + @BeforeClass
        + public static void setup() throws Exception

        { + server = new MiniCatalogServer(); + catalog = new LocalCatalogWrapper(server); + CatalogTestingUtil.prepareBaseData(catalog, ((MiniCatalogServer) server).getTestDir()); + }

        +
        + @AfterClass
        + public static void tearDown() throws Exception

        { + CatalogTestingUtil.cleanupBaseData(catalog); + server.stop(); + }

        +
        + @Test
        + public void testCreateTablespaceWithWrongUri() throws Exception {
        + // TODO
        + catalog.createTablespace("wrong", "hdfs:");
        — End diff –

        It seems to throw some exception, but it does not catch or handle the exception.

        Show
        githubbot ASF GitHub Bot added a comment - Github user hyunsik commented on a diff in the pull request: https://github.com/apache/tajo/pull/749#discussion_r39261725 — Diff: tajo-catalog/tajo-catalog-server/src/test/java/org/apache/tajo/catalog/TestCatalogExceptions.java — @@ -0,0 +1,293 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.apache.tajo.catalog; + +import org.apache.hadoop.fs.Path; +import org.apache.tajo.TajoConstants; +import org.apache.tajo.catalog.partition.PartitionDesc; +import org.apache.tajo.catalog.proto.CatalogProtos.AlterTablespaceProto; +import org.apache.tajo.catalog.proto.CatalogProtos.AlterTablespaceProto.AlterTablespaceCommand; +import org.apache.tajo.catalog.proto.CatalogProtos.AlterTablespaceProto.AlterTablespaceType; +import org.apache.tajo.catalog.proto.CatalogProtos.AlterTablespaceProto.SetLocation; +import org.apache.tajo.catalog.proto.CatalogProtos.IndexMethod; +import org.apache.tajo.catalog.proto.CatalogProtos.TableStatsProto; +import org.apache.tajo.catalog.proto.CatalogProtos.UpdateTableStatsProto; +import org.apache.tajo.common.TajoDataTypes.Type; +import org.apache.tajo.exception.*; +import org.apache.tajo.util.CommonTestingUtil; +import org.apache.tajo.util.KeyValueSet; +import org.junit.AfterClass; +import org.junit.BeforeClass; +import org.junit.Test; + +import java.net.URI; +import java.util.UUID; + +public class TestCatalogExceptions { + + static CatalogServer server; + static CatalogService catalog; + + @BeforeClass + public static void setup() throws Exception { + server = new MiniCatalogServer(); + catalog = new LocalCatalogWrapper(server); + CatalogTestingUtil.prepareBaseData(catalog, ((MiniCatalogServer) server).getTestDir()); + } + + @AfterClass + public static void tearDown() throws Exception { + CatalogTestingUtil.cleanupBaseData(catalog); + server.stop(); + } + + @Test + public void testCreateTablespaceWithWrongUri() throws Exception { + // TODO + catalog.createTablespace("wrong", "hdfs:"); — End diff – It seems to throw some exception, but it does not catch or handle the exception.
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user hyunsik commented on a diff in the pull request:

        https://github.com/apache/tajo/pull/749#discussion_r39261741

        — Diff: tajo-catalog/tajo-catalog-server/src/test/java/org/apache/tajo/catalog/TestCatalogExceptions.java —
        @@ -0,0 +1,293 @@
        +/**
        + * Licensed to the Apache Software Foundation (ASF) under one
        + * or more contributor license agreements. See the NOTICE file
        + * distributed with this work for additional information
        + * regarding copyright ownership. The ASF licenses this file
        + * to you under the Apache License, Version 2.0 (the
        + * "License"); you may not use this file except in compliance
        + * with the License. You may obtain a copy of the License at
        + *
        + * http://www.apache.org/licenses/LICENSE-2.0
        + *
        + * Unless required by applicable law or agreed to in writing, software
        + * distributed under the License is distributed on an "AS IS" BASIS,
        + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
        + * See the License for the specific language governing permissions and
        + * limitations under the License.
        + */
        +
        +package org.apache.tajo.catalog;
        +
        +import org.apache.hadoop.fs.Path;
        +import org.apache.tajo.TajoConstants;
        +import org.apache.tajo.catalog.partition.PartitionDesc;
        +import org.apache.tajo.catalog.proto.CatalogProtos.AlterTablespaceProto;
        +import org.apache.tajo.catalog.proto.CatalogProtos.AlterTablespaceProto.AlterTablespaceCommand;
        +import org.apache.tajo.catalog.proto.CatalogProtos.AlterTablespaceProto.AlterTablespaceType;
        +import org.apache.tajo.catalog.proto.CatalogProtos.AlterTablespaceProto.SetLocation;
        +import org.apache.tajo.catalog.proto.CatalogProtos.IndexMethod;
        +import org.apache.tajo.catalog.proto.CatalogProtos.TableStatsProto;
        +import org.apache.tajo.catalog.proto.CatalogProtos.UpdateTableStatsProto;
        +import org.apache.tajo.common.TajoDataTypes.Type;
        +import org.apache.tajo.exception.*;
        +import org.apache.tajo.util.CommonTestingUtil;
        +import org.apache.tajo.util.KeyValueSet;
        +import org.junit.AfterClass;
        +import org.junit.BeforeClass;
        +import org.junit.Test;
        +
        +import java.net.URI;
        +import java.util.UUID;
        +
        +public class TestCatalogExceptions {
        +
        + static CatalogServer server;
        + static CatalogService catalog;
        +
        + @BeforeClass
        + public static void setup() throws Exception

        { + server = new MiniCatalogServer(); + catalog = new LocalCatalogWrapper(server); + CatalogTestingUtil.prepareBaseData(catalog, ((MiniCatalogServer) server).getTestDir()); + }

        +
        + @AfterClass
        + public static void tearDown() throws Exception

        { + CatalogTestingUtil.cleanupBaseData(catalog); + server.stop(); + }

        +
        + @Test
        + public void testCreateTablespaceWithWrongUri() throws Exception

        { + // TODO + catalog.createTablespace("wrong", "hdfs:"); + }

        +
        + @Test(expected = DuplicateTablespaceException.class)
        + public void testCreateDuplicateTablespace() throws Exception

        { + catalog.createTablespace("space1", "hdfs://xxx.com/warehouse"); + }

        +
        + @Test(expected = UndefinedTablespaceException.class)
        + public void testDropUndefinedTablespace() throws Exception

        { + catalog.dropTablespace("undefined"); + }

        +
        + @Test(expected = InsufficientPrivilegeException.class)
        + public void testDropDefaultTablespace() throws Exception

        { + catalog.dropTablespace(TajoConstants.DEFAULT_TABLESPACE_NAME); + }

        +
        + @Test(expected = TajoInternalError.class)
        + public void testAlterTablespaceWithWrongUri() throws Exception

        { + catalog.alterTablespace(AlterTablespaceProto.newBuilder(). + setSpaceName("space1"). + addCommand( + AlterTablespaceCommand.newBuilder(). + setType(AlterTablespaceType.LOCATION). + setLocation(SetLocation.newBuilder() + .setUri("hdfs:"))).build()); + }

        +
        + @Test(expected = UndefinedTablespaceException.class)
        + public void testAlterUndefinedTablespace() throws Exception

        { + catalog.alterTablespace(AlterTablespaceProto.newBuilder(). + setSpaceName("undefined"). + addCommand( + AlterTablespaceCommand.newBuilder(). + setType(AlterTablespaceType.LOCATION). + setLocation(SetLocation.newBuilder() + .setUri("hdfs://zzz.com/warehouse"))).build()); + }

        +
        + @Test(expected = DuplicateDatabaseException.class)
        + public void testCreateDuplicateDatabase() throws Exception

        { + catalog.createDatabase("TestDatabase1", "space1"); + }

        +
        + @Test(expected = UndefinedDatabaseException.class)
        + public void testDropUndefinedDatabase() throws Exception

        { + catalog.dropDatabase("undefined"); + }

        +
        + @Test(expected = InsufficientPrivilegeException.class)
        + public void testDropDefaultDatabase() throws Exception

        { + catalog.dropDatabase(TajoConstants.DEFAULT_DATABASE_NAME); + }

        +
        + @Test()
        + public void testCreateTableWithWrongUri() throws Exception {
        + // TODO
        — End diff –

        It seems to throw some exception, but it does not catch or handle the exception.

        Show
        githubbot ASF GitHub Bot added a comment - Github user hyunsik commented on a diff in the pull request: https://github.com/apache/tajo/pull/749#discussion_r39261741 — Diff: tajo-catalog/tajo-catalog-server/src/test/java/org/apache/tajo/catalog/TestCatalogExceptions.java — @@ -0,0 +1,293 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.apache.tajo.catalog; + +import org.apache.hadoop.fs.Path; +import org.apache.tajo.TajoConstants; +import org.apache.tajo.catalog.partition.PartitionDesc; +import org.apache.tajo.catalog.proto.CatalogProtos.AlterTablespaceProto; +import org.apache.tajo.catalog.proto.CatalogProtos.AlterTablespaceProto.AlterTablespaceCommand; +import org.apache.tajo.catalog.proto.CatalogProtos.AlterTablespaceProto.AlterTablespaceType; +import org.apache.tajo.catalog.proto.CatalogProtos.AlterTablespaceProto.SetLocation; +import org.apache.tajo.catalog.proto.CatalogProtos.IndexMethod; +import org.apache.tajo.catalog.proto.CatalogProtos.TableStatsProto; +import org.apache.tajo.catalog.proto.CatalogProtos.UpdateTableStatsProto; +import org.apache.tajo.common.TajoDataTypes.Type; +import org.apache.tajo.exception.*; +import org.apache.tajo.util.CommonTestingUtil; +import org.apache.tajo.util.KeyValueSet; +import org.junit.AfterClass; +import org.junit.BeforeClass; +import org.junit.Test; + +import java.net.URI; +import java.util.UUID; + +public class TestCatalogExceptions { + + static CatalogServer server; + static CatalogService catalog; + + @BeforeClass + public static void setup() throws Exception { + server = new MiniCatalogServer(); + catalog = new LocalCatalogWrapper(server); + CatalogTestingUtil.prepareBaseData(catalog, ((MiniCatalogServer) server).getTestDir()); + } + + @AfterClass + public static void tearDown() throws Exception { + CatalogTestingUtil.cleanupBaseData(catalog); + server.stop(); + } + + @Test + public void testCreateTablespaceWithWrongUri() throws Exception { + // TODO + catalog.createTablespace("wrong", "hdfs:"); + } + + @Test(expected = DuplicateTablespaceException.class) + public void testCreateDuplicateTablespace() throws Exception { + catalog.createTablespace("space1", "hdfs://xxx.com/warehouse"); + } + + @Test(expected = UndefinedTablespaceException.class) + public void testDropUndefinedTablespace() throws Exception { + catalog.dropTablespace("undefined"); + } + + @Test(expected = InsufficientPrivilegeException.class) + public void testDropDefaultTablespace() throws Exception { + catalog.dropTablespace(TajoConstants.DEFAULT_TABLESPACE_NAME); + } + + @Test(expected = TajoInternalError.class) + public void testAlterTablespaceWithWrongUri() throws Exception { + catalog.alterTablespace(AlterTablespaceProto.newBuilder(). + setSpaceName("space1"). + addCommand( + AlterTablespaceCommand.newBuilder(). + setType(AlterTablespaceType.LOCATION). + setLocation(SetLocation.newBuilder() + .setUri("hdfs:"))).build()); + } + + @Test(expected = UndefinedTablespaceException.class) + public void testAlterUndefinedTablespace() throws Exception { + catalog.alterTablespace(AlterTablespaceProto.newBuilder(). + setSpaceName("undefined"). + addCommand( + AlterTablespaceCommand.newBuilder(). + setType(AlterTablespaceType.LOCATION). + setLocation(SetLocation.newBuilder() + .setUri("hdfs://zzz.com/warehouse"))).build()); + } + + @Test(expected = DuplicateDatabaseException.class) + public void testCreateDuplicateDatabase() throws Exception { + catalog.createDatabase("TestDatabase1", "space1"); + } + + @Test(expected = UndefinedDatabaseException.class) + public void testDropUndefinedDatabase() throws Exception { + catalog.dropDatabase("undefined"); + } + + @Test(expected = InsufficientPrivilegeException.class) + public void testDropDefaultDatabase() throws Exception { + catalog.dropDatabase(TajoConstants.DEFAULT_DATABASE_NAME); + } + + @Test() + public void testCreateTableWithWrongUri() throws Exception { + // TODO — End diff – It seems to throw some exception, but it does not catch or handle the exception.
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user hyunsik commented on a diff in the pull request:

        https://github.com/apache/tajo/pull/749#discussion_r39261746

        — Diff: tajo-catalog/tajo-catalog-server/src/test/java/org/apache/tajo/catalog/TestCatalogExceptions.java —
        @@ -0,0 +1,293 @@
        +/**
        + * Licensed to the Apache Software Foundation (ASF) under one
        + * or more contributor license agreements. See the NOTICE file
        + * distributed with this work for additional information
        + * regarding copyright ownership. The ASF licenses this file
        + * to you under the Apache License, Version 2.0 (the
        + * "License"); you may not use this file except in compliance
        + * with the License. You may obtain a copy of the License at
        + *
        + * http://www.apache.org/licenses/LICENSE-2.0
        + *
        + * Unless required by applicable law or agreed to in writing, software
        + * distributed under the License is distributed on an "AS IS" BASIS,
        + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
        + * See the License for the specific language governing permissions and
        + * limitations under the License.
        + */
        +
        +package org.apache.tajo.catalog;
        +
        +import org.apache.hadoop.fs.Path;
        +import org.apache.tajo.TajoConstants;
        +import org.apache.tajo.catalog.partition.PartitionDesc;
        +import org.apache.tajo.catalog.proto.CatalogProtos.AlterTablespaceProto;
        +import org.apache.tajo.catalog.proto.CatalogProtos.AlterTablespaceProto.AlterTablespaceCommand;
        +import org.apache.tajo.catalog.proto.CatalogProtos.AlterTablespaceProto.AlterTablespaceType;
        +import org.apache.tajo.catalog.proto.CatalogProtos.AlterTablespaceProto.SetLocation;
        +import org.apache.tajo.catalog.proto.CatalogProtos.IndexMethod;
        +import org.apache.tajo.catalog.proto.CatalogProtos.TableStatsProto;
        +import org.apache.tajo.catalog.proto.CatalogProtos.UpdateTableStatsProto;
        +import org.apache.tajo.common.TajoDataTypes.Type;
        +import org.apache.tajo.exception.*;
        +import org.apache.tajo.util.CommonTestingUtil;
        +import org.apache.tajo.util.KeyValueSet;
        +import org.junit.AfterClass;
        +import org.junit.BeforeClass;
        +import org.junit.Test;
        +
        +import java.net.URI;
        +import java.util.UUID;
        +
        +public class TestCatalogExceptions {
        +
        + static CatalogServer server;
        + static CatalogService catalog;
        +
        + @BeforeClass
        + public static void setup() throws Exception

        { + server = new MiniCatalogServer(); + catalog = new LocalCatalogWrapper(server); + CatalogTestingUtil.prepareBaseData(catalog, ((MiniCatalogServer) server).getTestDir()); + }

        +
        + @AfterClass
        + public static void tearDown() throws Exception

        { + CatalogTestingUtil.cleanupBaseData(catalog); + server.stop(); + }

        +
        + @Test
        + public void testCreateTablespaceWithWrongUri() throws Exception

        { + // TODO + catalog.createTablespace("wrong", "hdfs:"); + }

        +
        + @Test(expected = DuplicateTablespaceException.class)
        + public void testCreateDuplicateTablespace() throws Exception

        { + catalog.createTablespace("space1", "hdfs://xxx.com/warehouse"); + }

        +
        + @Test(expected = UndefinedTablespaceException.class)
        + public void testDropUndefinedTablespace() throws Exception

        { + catalog.dropTablespace("undefined"); + }

        +
        + @Test(expected = InsufficientPrivilegeException.class)
        + public void testDropDefaultTablespace() throws Exception

        { + catalog.dropTablespace(TajoConstants.DEFAULT_TABLESPACE_NAME); + }

        +
        + @Test(expected = TajoInternalError.class)
        + public void testAlterTablespaceWithWrongUri() throws Exception

        { + catalog.alterTablespace(AlterTablespaceProto.newBuilder(). + setSpaceName("space1"). + addCommand( + AlterTablespaceCommand.newBuilder(). + setType(AlterTablespaceType.LOCATION). + setLocation(SetLocation.newBuilder() + .setUri("hdfs:"))).build()); + }

        +
        + @Test(expected = UndefinedTablespaceException.class)
        + public void testAlterUndefinedTablespace() throws Exception

        { + catalog.alterTablespace(AlterTablespaceProto.newBuilder(). + setSpaceName("undefined"). + addCommand( + AlterTablespaceCommand.newBuilder(). + setType(AlterTablespaceType.LOCATION). + setLocation(SetLocation.newBuilder() + .setUri("hdfs://zzz.com/warehouse"))).build()); + }

        +
        + @Test(expected = DuplicateDatabaseException.class)
        + public void testCreateDuplicateDatabase() throws Exception

        { + catalog.createDatabase("TestDatabase1", "space1"); + }

        +
        + @Test(expected = UndefinedDatabaseException.class)
        + public void testDropUndefinedDatabase() throws Exception

        { + catalog.dropDatabase("undefined"); + }

        +
        + @Test(expected = InsufficientPrivilegeException.class)
        + public void testDropDefaultDatabase() throws Exception

        { + catalog.dropDatabase(TajoConstants.DEFAULT_DATABASE_NAME); + }

        +
        + @Test()
        + public void testCreateTableWithWrongUri() throws Exception

        { + // TODO + String tableName = "wrongUri"; + Schema schema = new Schema(); + schema.addColumn(CatalogUtil.buildFQName(tableName, "Column"), Type.BLOB); + schema.addColumn(CatalogUtil.buildFQName(tableName, "column"), Type.INT4); + schema.addColumn(CatalogUtil.buildFQName(tableName, "cOlumn"), Type.INT8); + Path path = new Path(CommonTestingUtil.getTestDir(), tableName); + catalog.createTable( + new TableDesc( + CatalogUtil.buildFQName("TestDatabase1", tableName), + schema, + new TableMeta("TEXT", new KeyValueSet()), + path.toUri(), true)); + }

        +
        + @Test(expected = DuplicateTableException.class)
        + public void testCreateDuplicateTable() throws Exception

        { + catalog.createTable(CatalogTestingUtil.buildTableDesc("TestDatabase1", "TestTable1", + CommonTestingUtil.getTestDir().toString())); + }

        +
        + @Test(expected = UndefinedDatabaseException.class)
        + public void dropTableOfUndefinedDatabase() throws Exception

        { + catalog.dropTable(CatalogUtil.buildFQName("undefined", "testPartition1")); + }

        +
        + @Test(expected = UndefinedTableException.class)
        + public void dropUndefinedTable() throws Exception

        { + catalog.dropTable(CatalogUtil.buildFQName("TestDatabase1", "undefined")); + }

        +
        + @Test(expected = UndefinedTableException.class)
        + public void testUpdateTableStatsOfUndefinedTable() throws Exception

        { + catalog.updateTableStats( + UpdateTableStatsProto.newBuilder(). + setTableName(CatalogUtil.buildFQName("TestDatabase1", "undefined")). + setStats( + TableStatsProto.newBuilder(). + setNumRows(0). + setNumBytes(0). + build()). + build()); + }

        +
        + @Test
        + public void testAddPartitionWithWrongUri() throws Exception {
        + // TODO
        — End diff –

        It seems to throw some exception, but it does not catch or handle the exception.

        Show
        githubbot ASF GitHub Bot added a comment - Github user hyunsik commented on a diff in the pull request: https://github.com/apache/tajo/pull/749#discussion_r39261746 — Diff: tajo-catalog/tajo-catalog-server/src/test/java/org/apache/tajo/catalog/TestCatalogExceptions.java — @@ -0,0 +1,293 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.apache.tajo.catalog; + +import org.apache.hadoop.fs.Path; +import org.apache.tajo.TajoConstants; +import org.apache.tajo.catalog.partition.PartitionDesc; +import org.apache.tajo.catalog.proto.CatalogProtos.AlterTablespaceProto; +import org.apache.tajo.catalog.proto.CatalogProtos.AlterTablespaceProto.AlterTablespaceCommand; +import org.apache.tajo.catalog.proto.CatalogProtos.AlterTablespaceProto.AlterTablespaceType; +import org.apache.tajo.catalog.proto.CatalogProtos.AlterTablespaceProto.SetLocation; +import org.apache.tajo.catalog.proto.CatalogProtos.IndexMethod; +import org.apache.tajo.catalog.proto.CatalogProtos.TableStatsProto; +import org.apache.tajo.catalog.proto.CatalogProtos.UpdateTableStatsProto; +import org.apache.tajo.common.TajoDataTypes.Type; +import org.apache.tajo.exception.*; +import org.apache.tajo.util.CommonTestingUtil; +import org.apache.tajo.util.KeyValueSet; +import org.junit.AfterClass; +import org.junit.BeforeClass; +import org.junit.Test; + +import java.net.URI; +import java.util.UUID; + +public class TestCatalogExceptions { + + static CatalogServer server; + static CatalogService catalog; + + @BeforeClass + public static void setup() throws Exception { + server = new MiniCatalogServer(); + catalog = new LocalCatalogWrapper(server); + CatalogTestingUtil.prepareBaseData(catalog, ((MiniCatalogServer) server).getTestDir()); + } + + @AfterClass + public static void tearDown() throws Exception { + CatalogTestingUtil.cleanupBaseData(catalog); + server.stop(); + } + + @Test + public void testCreateTablespaceWithWrongUri() throws Exception { + // TODO + catalog.createTablespace("wrong", "hdfs:"); + } + + @Test(expected = DuplicateTablespaceException.class) + public void testCreateDuplicateTablespace() throws Exception { + catalog.createTablespace("space1", "hdfs://xxx.com/warehouse"); + } + + @Test(expected = UndefinedTablespaceException.class) + public void testDropUndefinedTablespace() throws Exception { + catalog.dropTablespace("undefined"); + } + + @Test(expected = InsufficientPrivilegeException.class) + public void testDropDefaultTablespace() throws Exception { + catalog.dropTablespace(TajoConstants.DEFAULT_TABLESPACE_NAME); + } + + @Test(expected = TajoInternalError.class) + public void testAlterTablespaceWithWrongUri() throws Exception { + catalog.alterTablespace(AlterTablespaceProto.newBuilder(). + setSpaceName("space1"). + addCommand( + AlterTablespaceCommand.newBuilder(). + setType(AlterTablespaceType.LOCATION). + setLocation(SetLocation.newBuilder() + .setUri("hdfs:"))).build()); + } + + @Test(expected = UndefinedTablespaceException.class) + public void testAlterUndefinedTablespace() throws Exception { + catalog.alterTablespace(AlterTablespaceProto.newBuilder(). + setSpaceName("undefined"). + addCommand( + AlterTablespaceCommand.newBuilder(). + setType(AlterTablespaceType.LOCATION). + setLocation(SetLocation.newBuilder() + .setUri("hdfs://zzz.com/warehouse"))).build()); + } + + @Test(expected = DuplicateDatabaseException.class) + public void testCreateDuplicateDatabase() throws Exception { + catalog.createDatabase("TestDatabase1", "space1"); + } + + @Test(expected = UndefinedDatabaseException.class) + public void testDropUndefinedDatabase() throws Exception { + catalog.dropDatabase("undefined"); + } + + @Test(expected = InsufficientPrivilegeException.class) + public void testDropDefaultDatabase() throws Exception { + catalog.dropDatabase(TajoConstants.DEFAULT_DATABASE_NAME); + } + + @Test() + public void testCreateTableWithWrongUri() throws Exception { + // TODO + String tableName = "wrongUri"; + Schema schema = new Schema(); + schema.addColumn(CatalogUtil.buildFQName(tableName, "Column"), Type.BLOB); + schema.addColumn(CatalogUtil.buildFQName(tableName, "column"), Type.INT4); + schema.addColumn(CatalogUtil.buildFQName(tableName, "cOlumn"), Type.INT8); + Path path = new Path(CommonTestingUtil.getTestDir(), tableName); + catalog.createTable( + new TableDesc( + CatalogUtil.buildFQName("TestDatabase1", tableName), + schema, + new TableMeta("TEXT", new KeyValueSet()), + path.toUri(), true)); + } + + @Test(expected = DuplicateTableException.class) + public void testCreateDuplicateTable() throws Exception { + catalog.createTable(CatalogTestingUtil.buildTableDesc("TestDatabase1", "TestTable1", + CommonTestingUtil.getTestDir().toString())); + } + + @Test(expected = UndefinedDatabaseException.class) + public void dropTableOfUndefinedDatabase() throws Exception { + catalog.dropTable(CatalogUtil.buildFQName("undefined", "testPartition1")); + } + + @Test(expected = UndefinedTableException.class) + public void dropUndefinedTable() throws Exception { + catalog.dropTable(CatalogUtil.buildFQName("TestDatabase1", "undefined")); + } + + @Test(expected = UndefinedTableException.class) + public void testUpdateTableStatsOfUndefinedTable() throws Exception { + catalog.updateTableStats( + UpdateTableStatsProto.newBuilder(). + setTableName(CatalogUtil.buildFQName("TestDatabase1", "undefined")). + setStats( + TableStatsProto.newBuilder(). + setNumRows(0). + setNumBytes(0). + build()). + build()); + } + + @Test + public void testAddPartitionWithWrongUri() throws Exception { + // TODO — End diff – It seems to throw some exception, but it does not catch or handle the exception.
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user hyunsik commented on the pull request:

        https://github.com/apache/tajo/pull/749#issuecomment-139518419

        It's excellent! I leaved some comments.

        Show
        githubbot ASF GitHub Bot added a comment - Github user hyunsik commented on the pull request: https://github.com/apache/tajo/pull/749#issuecomment-139518419 It's excellent! I leaved some comments.
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user jihoonson commented on the pull request:

        https://github.com/apache/tajo/pull/749#issuecomment-139753618

        @hyunsik thank you for your review. I updated the patch according to your comment except wrong URI tests. The problem is that we cannot test against wrong URI input because it doesn't cause any errors. I think we need to handle this problem at another issue.

        Show
        githubbot ASF GitHub Bot added a comment - Github user jihoonson commented on the pull request: https://github.com/apache/tajo/pull/749#issuecomment-139753618 @hyunsik thank you for your review. I updated the patch according to your comment except wrong URI tests. The problem is that we cannot test against wrong URI input because it doesn't cause any errors. I think we need to handle this problem at another issue.
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user hyunsik commented on the pull request:

        https://github.com/apache/tajo/pull/749#issuecomment-140610051

        +1
        The patch looks good to me. Ship it!

        Show
        githubbot ASF GitHub Bot added a comment - Github user hyunsik commented on the pull request: https://github.com/apache/tajo/pull/749#issuecomment-140610051 +1 The patch looks good to me. Ship it!
        Hide
        githubbot ASF GitHub Bot added a comment -

        Github user asfgit closed the pull request at:

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

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

        FAILURE: Integrated in Tajo-master-CODEGEN-build #509 (See https://builds.apache.org/job/Tajo-master-CODEGEN-build/509/)
        TAJO-1813: Allow external catalog store for unit testing. (jihoonson: rev 7d97284a97a1ca7338406ef70747af4993329f02)

        • tajo-catalog/tajo-catalog-server/src/main/java/org/apache/tajo/catalog/MiniCatalogServer.java
        • tajo-catalog/tajo-catalog-server/src/test/java/org/apache/tajo/catalog/TestCatalogExceptions.java
        • tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/TestLogicalPlan.java
        • tajo-core-tests/src/test/java/org/apache/tajo/engine/eval/TestEvalTreeUtil.java
        • tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestHashAntiJoinExec.java
        • tajo-cluster-tests/src/test/java/org/apache/tajo/TajoTestingCluster.java
        • tajo-catalog/tajo-catalog-server/src/test/java/org/apache/tajo/catalog/MiniCatalogServer.java
        • tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestFullOuterHashJoinExec.java
        • tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/TestPlannerUtil.java
        • tajo-catalog/tajo-catalog-server/src/main/java/org/apache/tajo/catalog/store/AbstractDBStore.java
        • tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestHashSemiJoinExec.java
        • tajo-catalog/tajo-catalog-server/src/main/resources/schemas/mysql/mysql.xml
        • tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/TestJoinOrderAlgorithm.java
        • tajo-core/src/main/java/org/apache/tajo/master/exec/DDLExecutor.java
        • tajo-catalog/tajo-catalog-server/src/test/java/org/apache/tajo/catalog/TestCatalogAgainstCaseSensitivity.java
        • tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestLeftOuterHashJoinExec.java
        • tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestHashJoinExec.java
        • tajo-common/src/main/java/org/apache/tajo/exception/ExceptionUtil.java
        • tajo-catalog/tajo-catalog-server/src/main/resources/schemas/derby/derby.xml
        • tajo-catalog/tajo-catalog-common/src/main/java/org/apache/tajo/catalog/CatalogUtil.java
        • tajo-catalog/tajo-catalog-client/src/main/java/org/apache/tajo/catalog/AbstractCatalogClient.java
        • tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestSortIntersectExec.java
        • tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/TestLogicalOptimizer.java
        • CHANGES
        • tajo-catalog/tajo-catalog-server/src/test/java/org/apache/tajo/catalog/TestCatalog.java
        • tajo-jdbc/src/test/java/org/apache/tajo/jdbc/TestTajoJdbcNegative.java
        • tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestProgressExternalSortExec.java
        • tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestRightOuterMergeJoinExec.java
        • tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestExternalSortExec.java
        • tajo-core-tests/src/test/java/org/apache/tajo/engine/eval/ExprTestBase.java
        • tajo-catalog/tajo-catalog-server/src/main/java/org/apache/tajo/catalog/store/CatalogStore.java
        • tajo-catalog/tajo-catalog-server/src/main/resources/schemas/oracle/oracle.xml
        • tajo-catalog/tajo-catalog-server/src/main/java/org/apache/tajo/catalog/LinkedMetadataManager.java
        • tajo-catalog/tajo-catalog-common/src/main/java/org/apache/tajo/catalog/Schema.java
        • tajo-catalog/tajo-catalog-server/src/main/resources/schemas/postgresql/postgresql.xml
        • tajo-core-tests/src/test/java/org/apache/tajo/master/TestExecutionBlockCursor.java
        • tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestRightOuterHashJoinExec.java
        • tajo-catalog/tajo-catalog-server/src/main/java/org/apache/tajo/catalog/CatalogServer.java
        • tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/TestLogicalPlanner.java
        • tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestPhysicalPlanner.java
        • tajo-catalog/tajo-catalog-common/src/main/java/org/apache/tajo/catalog/CatalogService.java
        • tajo-catalog/tajo-catalog-server/src/test/java/org/apache/tajo/catalog/CatalogTestingUtil.java
        • tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestFullOuterMergeJoinExec.java
        • tajo-core/src/main/java/org/apache/tajo/querymaster/Query.java
        • tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestMergeJoinExec.java
        • tajo-catalog/tajo-catalog-server/src/main/resources/schemas/mariadb/mariadb.xml
        • tajo-catalog/tajo-catalog-server/src/test/java/org/apache/tajo/catalog/TestLinkedMetadataManager.java
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Tajo-master-CODEGEN-build #509 (See https://builds.apache.org/job/Tajo-master-CODEGEN-build/509/ ) TAJO-1813 : Allow external catalog store for unit testing. (jihoonson: rev 7d97284a97a1ca7338406ef70747af4993329f02) tajo-catalog/tajo-catalog-server/src/main/java/org/apache/tajo/catalog/MiniCatalogServer.java tajo-catalog/tajo-catalog-server/src/test/java/org/apache/tajo/catalog/TestCatalogExceptions.java tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/TestLogicalPlan.java tajo-core-tests/src/test/java/org/apache/tajo/engine/eval/TestEvalTreeUtil.java tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestHashAntiJoinExec.java tajo-cluster-tests/src/test/java/org/apache/tajo/TajoTestingCluster.java tajo-catalog/tajo-catalog-server/src/test/java/org/apache/tajo/catalog/MiniCatalogServer.java tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestFullOuterHashJoinExec.java tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/TestPlannerUtil.java tajo-catalog/tajo-catalog-server/src/main/java/org/apache/tajo/catalog/store/AbstractDBStore.java tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestHashSemiJoinExec.java tajo-catalog/tajo-catalog-server/src/main/resources/schemas/mysql/mysql.xml tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/TestJoinOrderAlgorithm.java tajo-core/src/main/java/org/apache/tajo/master/exec/DDLExecutor.java tajo-catalog/tajo-catalog-server/src/test/java/org/apache/tajo/catalog/TestCatalogAgainstCaseSensitivity.java tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestLeftOuterHashJoinExec.java tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestHashJoinExec.java tajo-common/src/main/java/org/apache/tajo/exception/ExceptionUtil.java tajo-catalog/tajo-catalog-server/src/main/resources/schemas/derby/derby.xml tajo-catalog/tajo-catalog-common/src/main/java/org/apache/tajo/catalog/CatalogUtil.java tajo-catalog/tajo-catalog-client/src/main/java/org/apache/tajo/catalog/AbstractCatalogClient.java tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestSortIntersectExec.java tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/TestLogicalOptimizer.java CHANGES tajo-catalog/tajo-catalog-server/src/test/java/org/apache/tajo/catalog/TestCatalog.java tajo-jdbc/src/test/java/org/apache/tajo/jdbc/TestTajoJdbcNegative.java tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestProgressExternalSortExec.java tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestRightOuterMergeJoinExec.java tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestExternalSortExec.java tajo-core-tests/src/test/java/org/apache/tajo/engine/eval/ExprTestBase.java tajo-catalog/tajo-catalog-server/src/main/java/org/apache/tajo/catalog/store/CatalogStore.java tajo-catalog/tajo-catalog-server/src/main/resources/schemas/oracle/oracle.xml tajo-catalog/tajo-catalog-server/src/main/java/org/apache/tajo/catalog/LinkedMetadataManager.java tajo-catalog/tajo-catalog-common/src/main/java/org/apache/tajo/catalog/Schema.java tajo-catalog/tajo-catalog-server/src/main/resources/schemas/postgresql/postgresql.xml tajo-core-tests/src/test/java/org/apache/tajo/master/TestExecutionBlockCursor.java tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestRightOuterHashJoinExec.java tajo-catalog/tajo-catalog-server/src/main/java/org/apache/tajo/catalog/CatalogServer.java tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/TestLogicalPlanner.java tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestPhysicalPlanner.java tajo-catalog/tajo-catalog-common/src/main/java/org/apache/tajo/catalog/CatalogService.java tajo-catalog/tajo-catalog-server/src/test/java/org/apache/tajo/catalog/CatalogTestingUtil.java tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestFullOuterMergeJoinExec.java tajo-core/src/main/java/org/apache/tajo/querymaster/Query.java tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestMergeJoinExec.java tajo-catalog/tajo-catalog-server/src/main/resources/schemas/mariadb/mariadb.xml tajo-catalog/tajo-catalog-server/src/test/java/org/apache/tajo/catalog/TestLinkedMetadataManager.java
        Hide
        jihoonson Jihoon Son added a comment -

        Committed to master and 0.11.

        Show
        jihoonson Jihoon Son added a comment - Committed to master and 0.11.
        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Tajo-0.11.0-build #45 (See https://builds.apache.org/job/Tajo-0.11.0-build/45/)
        TAJO-1813: Allow external catalog store for unit testing. (jihoonson: rev cef44bcdd737dfdfd8b5a7bc552c6d995bceeedf)

        • tajo-core-tests/src/test/java/org/apache/tajo/master/TestExecutionBlockCursor.java
        • tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestRightOuterMergeJoinExec.java
        • tajo-catalog/tajo-catalog-server/src/test/java/org/apache/tajo/catalog/CatalogTestingUtil.java
        • tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestFullOuterMergeJoinExec.java
        • tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestSortIntersectExec.java
        • tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/TestLogicalPlanner.java
        • tajo-catalog/tajo-catalog-server/src/main/resources/schemas/derby/derby.xml
        • tajo-catalog/tajo-catalog-server/src/main/resources/schemas/mysql/mysql.xml
        • tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestPhysicalPlanner.java
        • tajo-core-tests/src/test/java/org/apache/tajo/engine/eval/ExprTestBase.java
        • tajo-core-tests/src/test/java/org/apache/tajo/engine/eval/TestEvalTreeUtil.java
        • tajo-catalog/tajo-catalog-server/src/main/java/org/apache/tajo/catalog/CatalogServer.java
        • CHANGES
        • tajo-catalog/tajo-catalog-server/src/test/java/org/apache/tajo/catalog/TestLinkedMetadataManager.java
        • tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestHashJoinExec.java
        • tajo-jdbc/src/test/java/org/apache/tajo/jdbc/TestTajoJdbcNegative.java
        • tajo-catalog/tajo-catalog-server/src/main/java/org/apache/tajo/catalog/LinkedMetadataManager.java
        • tajo-catalog/tajo-catalog-server/src/main/resources/schemas/oracle/oracle.xml
        • tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestLeftOuterHashJoinExec.java
        • tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestFullOuterHashJoinExec.java
        • tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestRightOuterHashJoinExec.java
        • tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestMergeJoinExec.java
        • tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestHashAntiJoinExec.java
        • tajo-catalog/tajo-catalog-server/src/main/java/org/apache/tajo/catalog/store/CatalogStore.java
        • tajo-core/src/main/java/org/apache/tajo/master/exec/DDLExecutor.java
        • tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestExternalSortExec.java
        • tajo-catalog/tajo-catalog-server/src/test/java/org/apache/tajo/catalog/TestCatalog.java
        • tajo-catalog/tajo-catalog-server/src/main/java/org/apache/tajo/catalog/MiniCatalogServer.java
        • tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/TestLogicalPlan.java
        • tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/TestJoinOrderAlgorithm.java
        • tajo-catalog/tajo-catalog-server/src/test/java/org/apache/tajo/catalog/MiniCatalogServer.java
        • tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/TestLogicalOptimizer.java
        • tajo-catalog/tajo-catalog-server/src/main/resources/schemas/postgresql/postgresql.xml
        • tajo-common/src/main/java/org/apache/tajo/exception/ExceptionUtil.java
        • tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestHashSemiJoinExec.java
        • tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/TestPlannerUtil.java
        • tajo-catalog/tajo-catalog-common/src/main/java/org/apache/tajo/catalog/CatalogService.java
        • tajo-catalog/tajo-catalog-server/src/test/java/org/apache/tajo/catalog/TestCatalogAgainstCaseSensitivity.java
        • tajo-catalog/tajo-catalog-server/src/test/java/org/apache/tajo/catalog/TestCatalogExceptions.java
        • tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestProgressExternalSortExec.java
        • tajo-catalog/tajo-catalog-server/src/main/resources/schemas/mariadb/mariadb.xml
        • tajo-cluster-tests/src/test/java/org/apache/tajo/TajoTestingCluster.java
        • tajo-catalog/tajo-catalog-client/src/main/java/org/apache/tajo/catalog/AbstractCatalogClient.java
        • tajo-catalog/tajo-catalog-common/src/main/java/org/apache/tajo/catalog/Schema.java
        • tajo-catalog/tajo-catalog-common/src/main/java/org/apache/tajo/catalog/CatalogUtil.java
        • tajo-core/src/main/java/org/apache/tajo/querymaster/Query.java
        • tajo-catalog/tajo-catalog-server/src/main/java/org/apache/tajo/catalog/store/AbstractDBStore.java
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Tajo-0.11.0-build #45 (See https://builds.apache.org/job/Tajo-0.11.0-build/45/ ) TAJO-1813 : Allow external catalog store for unit testing. (jihoonson: rev cef44bcdd737dfdfd8b5a7bc552c6d995bceeedf) tajo-core-tests/src/test/java/org/apache/tajo/master/TestExecutionBlockCursor.java tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestRightOuterMergeJoinExec.java tajo-catalog/tajo-catalog-server/src/test/java/org/apache/tajo/catalog/CatalogTestingUtil.java tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestFullOuterMergeJoinExec.java tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestSortIntersectExec.java tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/TestLogicalPlanner.java tajo-catalog/tajo-catalog-server/src/main/resources/schemas/derby/derby.xml tajo-catalog/tajo-catalog-server/src/main/resources/schemas/mysql/mysql.xml tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestPhysicalPlanner.java tajo-core-tests/src/test/java/org/apache/tajo/engine/eval/ExprTestBase.java tajo-core-tests/src/test/java/org/apache/tajo/engine/eval/TestEvalTreeUtil.java tajo-catalog/tajo-catalog-server/src/main/java/org/apache/tajo/catalog/CatalogServer.java CHANGES tajo-catalog/tajo-catalog-server/src/test/java/org/apache/tajo/catalog/TestLinkedMetadataManager.java tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestHashJoinExec.java tajo-jdbc/src/test/java/org/apache/tajo/jdbc/TestTajoJdbcNegative.java tajo-catalog/tajo-catalog-server/src/main/java/org/apache/tajo/catalog/LinkedMetadataManager.java tajo-catalog/tajo-catalog-server/src/main/resources/schemas/oracle/oracle.xml tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestLeftOuterHashJoinExec.java tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestFullOuterHashJoinExec.java tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestRightOuterHashJoinExec.java tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestMergeJoinExec.java tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestHashAntiJoinExec.java tajo-catalog/tajo-catalog-server/src/main/java/org/apache/tajo/catalog/store/CatalogStore.java tajo-core/src/main/java/org/apache/tajo/master/exec/DDLExecutor.java tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestExternalSortExec.java tajo-catalog/tajo-catalog-server/src/test/java/org/apache/tajo/catalog/TestCatalog.java tajo-catalog/tajo-catalog-server/src/main/java/org/apache/tajo/catalog/MiniCatalogServer.java tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/TestLogicalPlan.java tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/TestJoinOrderAlgorithm.java tajo-catalog/tajo-catalog-server/src/test/java/org/apache/tajo/catalog/MiniCatalogServer.java tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/TestLogicalOptimizer.java tajo-catalog/tajo-catalog-server/src/main/resources/schemas/postgresql/postgresql.xml tajo-common/src/main/java/org/apache/tajo/exception/ExceptionUtil.java tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestHashSemiJoinExec.java tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/TestPlannerUtil.java tajo-catalog/tajo-catalog-common/src/main/java/org/apache/tajo/catalog/CatalogService.java tajo-catalog/tajo-catalog-server/src/test/java/org/apache/tajo/catalog/TestCatalogAgainstCaseSensitivity.java tajo-catalog/tajo-catalog-server/src/test/java/org/apache/tajo/catalog/TestCatalogExceptions.java tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestProgressExternalSortExec.java tajo-catalog/tajo-catalog-server/src/main/resources/schemas/mariadb/mariadb.xml tajo-cluster-tests/src/test/java/org/apache/tajo/TajoTestingCluster.java tajo-catalog/tajo-catalog-client/src/main/java/org/apache/tajo/catalog/AbstractCatalogClient.java tajo-catalog/tajo-catalog-common/src/main/java/org/apache/tajo/catalog/Schema.java tajo-catalog/tajo-catalog-common/src/main/java/org/apache/tajo/catalog/CatalogUtil.java tajo-core/src/main/java/org/apache/tajo/querymaster/Query.java tajo-catalog/tajo-catalog-server/src/main/java/org/apache/tajo/catalog/store/AbstractDBStore.java
        Hide
        hudson Hudson added a comment -

        ABORTED: Integrated in Tajo-master-build #868 (See https://builds.apache.org/job/Tajo-master-build/868/)
        TAJO-1813: Allow external catalog store for unit testing. (jihoonson: rev 7d97284a97a1ca7338406ef70747af4993329f02)

        • tajo-catalog/tajo-catalog-server/src/main/java/org/apache/tajo/catalog/MiniCatalogServer.java
        • tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestSortIntersectExec.java
        • tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestHashSemiJoinExec.java
        • tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestMergeJoinExec.java
        • tajo-core-tests/src/test/java/org/apache/tajo/master/TestExecutionBlockCursor.java
        • tajo-jdbc/src/test/java/org/apache/tajo/jdbc/TestTajoJdbcNegative.java
        • tajo-catalog/tajo-catalog-common/src/main/java/org/apache/tajo/catalog/Schema.java
        • tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestHashJoinExec.java
        • tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/TestLogicalPlan.java
        • tajo-catalog/tajo-catalog-server/src/main/java/org/apache/tajo/catalog/CatalogServer.java
        • tajo-catalog/tajo-catalog-server/src/main/java/org/apache/tajo/catalog/store/CatalogStore.java
        • tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestExternalSortExec.java
        • tajo-catalog/tajo-catalog-server/src/main/java/org/apache/tajo/catalog/store/AbstractDBStore.java
        • tajo-catalog/tajo-catalog-server/src/main/resources/schemas/mysql/mysql.xml
        • tajo-cluster-tests/src/test/java/org/apache/tajo/TajoTestingCluster.java
        • tajo-catalog/tajo-catalog-common/src/main/java/org/apache/tajo/catalog/CatalogUtil.java
        • CHANGES
        • tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestFullOuterHashJoinExec.java
        • tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/TestJoinOrderAlgorithm.java
        • tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestProgressExternalSortExec.java
        • tajo-catalog/tajo-catalog-server/src/test/java/org/apache/tajo/catalog/TestCatalogAgainstCaseSensitivity.java
        • tajo-catalog/tajo-catalog-server/src/main/resources/schemas/postgresql/postgresql.xml
        • tajo-catalog/tajo-catalog-server/src/test/java/org/apache/tajo/catalog/MiniCatalogServer.java
        • tajo-core/src/main/java/org/apache/tajo/master/exec/DDLExecutor.java
        • tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestFullOuterMergeJoinExec.java
        • tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestHashAntiJoinExec.java
        • tajo-core-tests/src/test/java/org/apache/tajo/engine/eval/TestEvalTreeUtil.java
        • tajo-catalog/tajo-catalog-server/src/test/java/org/apache/tajo/catalog/CatalogTestingUtil.java
        • tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestRightOuterMergeJoinExec.java
        • tajo-catalog/tajo-catalog-server/src/main/resources/schemas/derby/derby.xml
        • tajo-catalog/tajo-catalog-common/src/main/java/org/apache/tajo/catalog/CatalogService.java
        • tajo-catalog/tajo-catalog-server/src/test/java/org/apache/tajo/catalog/TestLinkedMetadataManager.java
        • tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/TestPlannerUtil.java
        • tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestLeftOuterHashJoinExec.java
        • tajo-catalog/tajo-catalog-server/src/main/resources/schemas/mariadb/mariadb.xml
        • tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestRightOuterHashJoinExec.java
        • tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestPhysicalPlanner.java
        • tajo-catalog/tajo-catalog-client/src/main/java/org/apache/tajo/catalog/AbstractCatalogClient.java
        • tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/TestLogicalPlanner.java
        • tajo-catalog/tajo-catalog-server/src/main/java/org/apache/tajo/catalog/LinkedMetadataManager.java
        • tajo-catalog/tajo-catalog-server/src/main/resources/schemas/oracle/oracle.xml
        • tajo-catalog/tajo-catalog-server/src/test/java/org/apache/tajo/catalog/TestCatalogExceptions.java
        • tajo-core-tests/src/test/java/org/apache/tajo/engine/eval/ExprTestBase.java
        • tajo-common/src/main/java/org/apache/tajo/exception/ExceptionUtil.java
        • tajo-catalog/tajo-catalog-server/src/test/java/org/apache/tajo/catalog/TestCatalog.java
        • tajo-core/src/main/java/org/apache/tajo/querymaster/Query.java
        • tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/TestLogicalOptimizer.java
        Show
        hudson Hudson added a comment - ABORTED: Integrated in Tajo-master-build #868 (See https://builds.apache.org/job/Tajo-master-build/868/ ) TAJO-1813 : Allow external catalog store for unit testing. (jihoonson: rev 7d97284a97a1ca7338406ef70747af4993329f02) tajo-catalog/tajo-catalog-server/src/main/java/org/apache/tajo/catalog/MiniCatalogServer.java tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestSortIntersectExec.java tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestHashSemiJoinExec.java tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestMergeJoinExec.java tajo-core-tests/src/test/java/org/apache/tajo/master/TestExecutionBlockCursor.java tajo-jdbc/src/test/java/org/apache/tajo/jdbc/TestTajoJdbcNegative.java tajo-catalog/tajo-catalog-common/src/main/java/org/apache/tajo/catalog/Schema.java tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestHashJoinExec.java tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/TestLogicalPlan.java tajo-catalog/tajo-catalog-server/src/main/java/org/apache/tajo/catalog/CatalogServer.java tajo-catalog/tajo-catalog-server/src/main/java/org/apache/tajo/catalog/store/CatalogStore.java tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestExternalSortExec.java tajo-catalog/tajo-catalog-server/src/main/java/org/apache/tajo/catalog/store/AbstractDBStore.java tajo-catalog/tajo-catalog-server/src/main/resources/schemas/mysql/mysql.xml tajo-cluster-tests/src/test/java/org/apache/tajo/TajoTestingCluster.java tajo-catalog/tajo-catalog-common/src/main/java/org/apache/tajo/catalog/CatalogUtil.java CHANGES tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestFullOuterHashJoinExec.java tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/TestJoinOrderAlgorithm.java tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestProgressExternalSortExec.java tajo-catalog/tajo-catalog-server/src/test/java/org/apache/tajo/catalog/TestCatalogAgainstCaseSensitivity.java tajo-catalog/tajo-catalog-server/src/main/resources/schemas/postgresql/postgresql.xml tajo-catalog/tajo-catalog-server/src/test/java/org/apache/tajo/catalog/MiniCatalogServer.java tajo-core/src/main/java/org/apache/tajo/master/exec/DDLExecutor.java tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestFullOuterMergeJoinExec.java tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestHashAntiJoinExec.java tajo-core-tests/src/test/java/org/apache/tajo/engine/eval/TestEvalTreeUtil.java tajo-catalog/tajo-catalog-server/src/test/java/org/apache/tajo/catalog/CatalogTestingUtil.java tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestRightOuterMergeJoinExec.java tajo-catalog/tajo-catalog-server/src/main/resources/schemas/derby/derby.xml tajo-catalog/tajo-catalog-common/src/main/java/org/apache/tajo/catalog/CatalogService.java tajo-catalog/tajo-catalog-server/src/test/java/org/apache/tajo/catalog/TestLinkedMetadataManager.java tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/TestPlannerUtil.java tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestLeftOuterHashJoinExec.java tajo-catalog/tajo-catalog-server/src/main/resources/schemas/mariadb/mariadb.xml tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestRightOuterHashJoinExec.java tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/physical/TestPhysicalPlanner.java tajo-catalog/tajo-catalog-client/src/main/java/org/apache/tajo/catalog/AbstractCatalogClient.java tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/TestLogicalPlanner.java tajo-catalog/tajo-catalog-server/src/main/java/org/apache/tajo/catalog/LinkedMetadataManager.java tajo-catalog/tajo-catalog-server/src/main/resources/schemas/oracle/oracle.xml tajo-catalog/tajo-catalog-server/src/test/java/org/apache/tajo/catalog/TestCatalogExceptions.java tajo-core-tests/src/test/java/org/apache/tajo/engine/eval/ExprTestBase.java tajo-common/src/main/java/org/apache/tajo/exception/ExceptionUtil.java tajo-catalog/tajo-catalog-server/src/test/java/org/apache/tajo/catalog/TestCatalog.java tajo-core/src/main/java/org/apache/tajo/querymaster/Query.java tajo-core-tests/src/test/java/org/apache/tajo/engine/planner/TestLogicalOptimizer.java

          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