pvary commented on a change in pull request #2348:
URL: https://github.com/apache/hive/pull/2348#discussion_r647203906
##########
File path: ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java
##########
@@ -13477,15 +13477,28 @@ ASTNode analyzeCreateTable(
}
}
- if (partitionTransformSpecExists) {
- try {
- HiveStorageHandler storageHandler = HiveUtils.getStorageHandler(conf,
storageFormat.getStorageHandler());
- if (!storageHandler.supportsPartitionTransform()) {
- throw new SemanticException("Partition transform is not supported
for " +
- storageHandler.getClass().getName());
+ HiveStorageHandler handler;
+ try {
+ handler = HiveUtils.getStorageHandler(conf,
storageFormat.getStorageHandler());
Review comment:
Do we have an exception for native tables? In my experience sometimes
the StorageHandler is `null`, but there might be some other issues here.
--
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:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]