diqiu50 commented on code in PR #8777:
URL: https://github.com/apache/gravitino/pull/8777#discussion_r2510802647


##########
clients/filesystem-hadoop3/src/main/java/org/apache/gravitino/filesystem/hadoop/BaseGVFSOperations.java:
##########
@@ -661,6 +668,26 @@ protected Fileset getFileset(NameIdentifier filesetIdent) {
                         NameIdentifier.of(filesetIdent.namespace().level(2), 
filesetIdent.name())));
   }
 
+  /**
+   * Get the schema by the schema identifier from the cache or load it from 
the server if the cache
+   * is disabled.
+   *
+   * @param schemaIdent the schema identifier.
+   * @return the schema.
+   */
+  protected Schema getSchema(NameIdentifier schemaIdent) {
+    return filesetMetadataCache
+        .map(cache -> cache.getSchema(schemaIdent))

Review Comment:
   The doc updated.



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