dengzhhu653 commented on code in PR #4194:
URL: https://github.com/apache/hive/pull/4194#discussion_r1171263485
##########
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/RawStore.java:
##########
@@ -2185,4 +2187,32 @@ Map<String, Map<String, String>>
updatePartitionColumnStatisticsInBatch(
Package findPackage(GetPackageRequest request);
List<String> listPackages(ListPackageRequest request);
void dropPackage(DropPackageRequest request);
+
+ /** Persistent Property Management. */
+ default MMetastoreDBProperties putProperties(String key, String value,
String description, byte[] content) throws MetaException {
+ return null;
+ }
+
+ default <T> T getProperties(String key,
java.util.function.Function<MMetastoreDBProperties, T> transform) throws
MetaException {
+ return null;
+ }
+ default <T> Map<String, T> selectProperties(String key,
java.util.function.Function<MMetastoreDBProperties, T> transform) throws
MetaException {
+ return null;
+ }
+
+ default boolean renameProperties(String mapKey, String newKey) throws
MetaException {
+ return false;
+ }
+
+ default boolean dropProperties(String key) throws MetaException {
+ return false;
+ }
+
+ default PropertyStore getPropertyStore() {
Review Comment:
The `PropertyStore` is the place of creating/droping/selecting/renaming
properties, so can we just add `PropertyStore getPropertyStore()`, and remove
other properties methods from the RawStore?
--
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]