lcspinter commented on a change in pull request #2348:
URL: https://github.com/apache/hive/pull/2348#discussion_r647356190
##########
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:
Yes, the storage handler can be null in the case of native tables, but
this is handled inside of `HiveUtils.getStorageHandler()`
--
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]