You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2019/08/26 12:52:16 UTC

[GitHub] [incubator-iceberg] chenjunjiedada opened a new issue #415: supports unpartitioned table in partitionDF

chenjunjiedada opened a new issue #415: supports unpartitioned table in partitionDF
URL: https://github.com/apache/incubator-iceberg/issues/415
 
 
   partitionDF throws exception when executing on unpartitioned table, please see following exception:
   ```
   org.apache.hadoop.hive.ql.metadata.HiveException: Table item is not a partitioned table
     at org.apache.hadoop.hive.ql.metadata.Hive.getPartitions(Hive.java:2123)
     at org.apache.hadoop.hive.ql.metadata.Hive.getPartitions(Hive.java:2156)
     at org.apache.spark.sql.hive.client.HiveClientImpl$$anonfun$getPartitions$1.apply(HiveClientImpl.scala:670)
     at org.apache.spark.sql.hive.client.HiveClientImpl$$anonfun$getPartitions$1.apply(HiveClientImpl.scala:662)
     at org.apache.spark.sql.hive.client.HiveClientImpl$$anonfun$withHiveState$1.apply(HiveClientImpl.scala:275)
     at org.apache.spark.sql.hive.client.HiveClientImpl.liftedTree1$1(HiveClientImpl.scala:213)
     at org.apache.spark.sql.hive.client.HiveClientImpl.retryLocked(HiveClientImpl.scala:212)
     at org.apache.spark.sql.hive.client.HiveClientImpl.withHiveState(HiveClientImpl.scala:258)
     at org.apache.spark.sql.hive.client.HiveClientImpl.getPartitions(HiveClientImpl.scala:662)
     at org.apache.spark.sql.hive.client.HiveClient$class.getPartitions(HiveClient.scala:210)
     at org.apache.spark.sql.hive.client.HiveClientImpl.getPartitions(HiveClientImpl.scala:83)
     at org.apache.iceberg.spark.hacks.Hive.partitions(Hive.java:48)
     at org.apache.iceberg.spark.SparkTableUtil$.partitionDF(SparkTableUtil.scala:56)
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org