You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tajo.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/07/27 05:01:04 UTC

[jira] [Commented] (TAJO-1346) Create dynamic partitions to CatalogStore by running insert query or CTAS query.

    [ https://issues.apache.org/jira/browse/TAJO-1346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14642190#comment-14642190 ] 

ASF GitHub Bot commented on TAJO-1346:
--------------------------------------

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

    https://github.com/apache/tajo/pull/630#discussion_r35503240
  
    --- Diff: tajo-catalog/tajo-catalog-common/src/main/java/org/apache/tajo/catalog/exception/AssumedPartitionDirectoryException.java ---
    @@ -18,9 +18,13 @@
     
     package org.apache.tajo.catalog.exception;
     
    -public class NoPartitionedTableException extends Exception {
     
    -  public NoPartitionedTableException(String databaseName, String relName) {
    -    super(String.format("ERROR: table \"%s.%s\" is not a partitioned table", databaseName, relName));
    -  }
    +import org.apache.tajo.error.Errors.ResultCode;
    +
    +public class AssumedPartitionDirectoryException extends CatalogException {
    --- End diff --
    
    Its name seems to be not intuitive. Could you explain which kind of exception?


> Create dynamic partitions to CatalogStore by running insert query or CTAS query.
> --------------------------------------------------------------------------------
>
>                 Key: TAJO-1346
>                 URL: https://issues.apache.org/jira/browse/TAJO-1346
>             Project: Tajo
>          Issue Type: Sub-task
>          Components: Physical Operator
>            Reporter: Jaehwa Jung
>            Assignee: Jaehwa Jung
>
> Currently, If new partitions are added to HDFS by ColPartitionStoreExec, CatalogStore will not be aware of these partitions. So, Tajo need to load newly added partitions automatically to CatalogStore by running insert query or CTAS query.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)