You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@hive.apache.org by "okumin (via GitHub)" <gi...@apache.org> on 2024/04/04 03:52:28 UTC
Re: [PR] HIVE-28154: Throw friendly exception if the table does not support partition transform [hive]
okumin commented on code in PR #5166:
URL: https://github.com/apache/hive/pull/5166#discussion_r1550847239
##########
ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java:
##########
@@ -14495,6 +14495,8 @@ private void validateStorageFormat(
+ "'='" + fileFormat + "')");
}
}
+ } else if (partitionTransformSpecExists) {
+ throw new SemanticException("Partition transforms are only supported by Iceberg storage handler");
Review Comment:
Hopefully, we will have a generic message like "The default Hive storage handler doesn't support partition transforms" so that we can add a new one that supportsPartitionTransform.
--
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.
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org