deniskuzZ commented on code in PR #4346:
URL: https://github.com/apache/hive/pull/4346#discussion_r1238254148
##########
ql/src/java/org/apache/hadoop/hive/ql/metadata/HiveStorageHandler.java:
##########
@@ -638,4 +640,18 @@ default void
prepareAlterTableEnvironmentContext(AbstractAlterTableDesc alterTab
default Boolean hasAppendsOnly(org.apache.hadoop.hive.ql.metadata.Table
hmsTable, SnapshotContext since) {
return null;
}
+
+ /**
+ * Checks if storage handler supports Show Partitions and returns a list of
partitions
+ * @param context
+ * @param tbl
+ * @return List of partitions
+ * @throws UnsupportedOperationException
+ * @throws HiveException
+ */
+ default List<String> showPartitions(DDLOperationContext context,
+ org.apache.hadoop.hive.ql.metadata.Table tbl) throws
UnsupportedOperationException, HiveException {
Review Comment:
👍
--
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]