sundapeng commented on code in PR #5530:
URL: https://github.com/apache/paimon/pull/5530#discussion_r2063018504


##########
paimon-core/src/main/java/org/apache/paimon/rest/RESTCatalog.java:
##########
@@ -335,13 +344,18 @@ public PagedList<String> listTablesPaged(
 
     @Override
     public PagedList<Table> listTableDetailsPaged(
-            String db, @Nullable Integer maxResults, @Nullable String 
pageToken)
+            String db,
+            @Nullable Integer maxResults,
+            @Nullable String pageToken,
+            @Nullable String tableNamePattern)
             throws DatabaseNotExistException {
+        RESTUtil.validatePrefixSqlPattern(tableNamePattern);

Review Comment:
   The limitation should be checked at server side.



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