FANNG1 commented on code in PR #4122:
URL: https://github.com/apache/gravitino/pull/4122#discussion_r1677260212


##########
catalogs/bundled-catalog/src/main/java/com/datastrato/gravitino/catalog/property/PropertyConverter.java:
##########
@@ -81,30 +72,14 @@ public Map<String, Object> 
engineToGravitinoProperties(Map<String, Object> engin
     Map<String, Object> gravitinoProperties = new HashMap<>();
     Map<String, String> engineToGravitinoMapping = engineToGravitinoMapping();
 
-    Map<String, PropertyEntry<?>> propertyEntryMap = gravitinoPropertyMeta();
     for (Map.Entry<String, Object> entry : engineProperties.entrySet()) {
       String gravitinoKey = engineToGravitinoMapping.get(entry.getKey());
       if (gravitinoKey != null) {
-        PropertyEntry<?> propertyEntry = propertyEntryMap.get(gravitinoKey);

Review Comment:
   As dissussed with @yuqi1129 , the main usage of the function is to check the 
type of parameters, if we removed this function, Gravitino server could check 
the parameter type too which is acceptable.



-- 
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]

Reply via email to