difin commented on code in PR #5328:
URL: https://github.com/apache/hive/pull/5328#discussion_r1701989371
##########
ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java:
##########
@@ -4298,7 +4298,7 @@ private List<Partition> getPartitionsWithAuth(Table tbl,
Map<String, String> par
public List<Partition> getPartitions(Table tbl, Map<String, String>
partialPartSpec)
throws HiveException {
if (tbl.getStorageHandler() != null &&
tbl.getStorageHandler().alwaysUnpartitioned()) {
- return tbl.getStorageHandler().getPartitions(tbl, partialPartSpec);
+ return tbl.getStorageHandler().getPartitions(tbl, partialPartSpec,
false);
Review Comment:
No, because it is called from compaction flow when compaction request is
called with a specific partition which can be partition of an old partition
spec:
https://github.com/apache/hive/blob/76a03b8173e36681d8824bd30920cadff0bfb4fa/ql/src/java/org/apache/hadoop/hive/ql/ddl/table/storage/compact/AlterTableCompactOperation.java#L143-L147
--
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]