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

    https://github.com/apache/tajo/pull/624#discussion_r39008262
  
    --- Diff: 
tajo-catalog/tajo-catalog-drivers/tajo-hive/src/main/java/org/apache/tajo/catalog/store/HiveCatalogStore.java
 ---
    @@ -845,11 +854,72 @@ public boolean existPartitionMethod(String 
databaseName, String tableName) throw
       }
     
       @Override
    -  public List<CatalogProtos.PartitionDescProto> getPartitions(String 
databaseName,
    -                                                         String tableName) 
{
    -    throw new UnsupportedOperationException();
    +  public List<CatalogProtos.PartitionDescProto> getPartitions(String 
databaseName, String tableName) {
    +    throw new TajoRuntimeException(new 
UnsupportedException("getPartitions"));
    --- End diff --
    
    UnsupportedException automatically generates the error message including 
the method and class if it is used with a default constructor. SO, it should be 
``new UnsupportedException()``.


---
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