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

    https://github.com/apache/tajo/pull/624#discussion_r38730634
  
    --- Diff: 
tajo-catalog/tajo-catalog-drivers/tajo-hive/src/main/java/org/apache/tajo/catalog/store/HiveCatalogStore.java
 ---
    @@ -846,10 +855,65 @@ public boolean existPartitionMethod(String 
databaseName, String tableName) throw
     
       @Override
       public List<CatalogProtos.PartitionDescProto> getPartitions(String 
databaseName,
    -                                                         String tableName) 
{
    +                                                         String tableName) 
throws UndefinedDatabaseException,
    +    UndefinedTableException, UndefinedPartitionMethodException, 
UndefinedPartitionException{
         throw new UnsupportedOperationException();
       }
     
    +  @Override
    +  public boolean existPartitions(String databaseName, String tableName) 
throws UndefinedDatabaseException,
    +    UndefinedTableException, UndefinedPartitionMethodException {
    +    throw new UnsupportedOperationException();
    +  }
    +
    +  @Override
    +  public List<PartitionDescProto> 
getPartitionsByAlgebra(PartitionsByAlgebraProto request)
    +    throws UndefinedDatabaseException, UndefinedTableException, 
UndefinedPartitionMethodException,
    +    UndefinedOperatorException {
    +    throw new UndefinedOperatorException("getPartitionsByAlgebra");
    --- End diff --
    
    UnsupportedException is proper here.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to