deniskuzZ commented on code in PR #5248:
URL: https://github.com/apache/hive/pull/5248#discussion_r1638418910
##########
ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java:
##########
@@ -3663,7 +3664,12 @@ public
List<org.apache.hadoop.hive.metastore.api.Partition> getPartitionsByNames
public Partition getPartition(Table tbl, Map<String, String> partSpec)
throws HiveException {
if (tbl.getStorageHandler() != null &&
tbl.getStorageHandler().alwaysUnpartitioned()) {
- return tbl.getStorageHandler().getPartition(tbl, partSpec);
+ if
(Context.RewritePolicy.fromString(conf.get(ConfVars.REWRITE_POLICY.varname,
+ Context.RewritePolicy.DEFAULT.name())) ==
Context.RewritePolicy.PARTITION) {
Review Comment:
why do you need default
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]