rambleraptor commented on code in PR #1174:
URL: https://github.com/apache/iceberg-go/pull/1174#discussion_r3391765067


##########
catalog/rest/rest.go:
##########
@@ -834,8 +840,12 @@ func (r *Catalog) listTablesPage(ctx context.Context, 
namespace table.Identifier
        if err := checkValidNamespace(namespace); err != nil {
                return nil, "", err
        }
+       // Unsupported listing yields an empty result rather than an error.
+       if r.endpoints != nil && !r.endpoints.contains(endpointListTables) {
+               return nil, "", nil

Review Comment:
   Added it in a comment. We should match it. I'll actually make a PR in Python 
to change this.



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

Reply via email to