JingsongLi commented on code in PR #7009:
URL: https://github.com/apache/paimon/pull/7009#discussion_r2681607537


##########
paimon-python/pypaimon/common/file_io.py:
##########
@@ -43,7 +43,7 @@ def __init__(self, path: str, catalog_options: Options):
         self.properties = catalog_options
         self.logger = logging.getLogger(__name__)
         scheme, netloc, _ = self.parse_location(path)
-        self.uri_reader_factory = UriReaderFactory(catalog_options)
+        self.uri_reader_factory = UriReaderFactory(catalog_options.copy())

Review Comment:
   I think `RESTTokenFileIO` should not update `catalog_options`, should copy a 
new options, I think java also do like 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]

Reply via email to