deniskuzZ commented on code in PR #3849:
URL: https://github.com/apache/hive/pull/3849#discussion_r1060542498
##########
ql/src/java/org/apache/hadoop/hive/ql/ddl/table/partition/show/ShowPartitionsOperation.java:
##########
@@ -116,4 +120,22 @@ private List<String> getPartitionNames(Table tbl) throws
HiveException {
desc.getOrder(), desc.getLimit());
return partNames;
}
+
+ private boolean isPartitionedIcebergTable(Table tbl) {
+ String t = tbl.getParameters().get("table_type");
+ return t != null && t.equalsIgnoreCase("ICEBERG") &&
+ (tbl.getStorageHandler().getPartitionTransformSpec(tbl).size() > 0);
+ }
+
+ private List<String> getIcebergParts(Table tbl) {
Review Comment:
same here, can we incorporate this into getPartCols() ?
--
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]