XiaoHongbo-Hope commented on code in PR #6808:
URL: https://github.com/apache/paimon/pull/6808#discussion_r2617111702


##########
paimon-python/pypaimon/catalog/rest/rest_token_file_io.py:
##########
@@ -59,7 +60,7 @@ def __setstate__(self, state):
     def _initialize_oss_fs(self, path) -> FileSystem:
         self.try_to_refresh_token()
         merged_token = self._merge_token_with_catalog_options(self.token.token)
-        self.properties.update(merged_token)
+        self.properties.data.update(merged_token)
         return super()._initialize_oss_fs(path)
 
     def _merge_token_with_catalog_options(self, token: dict) -> dict:

Review Comment:
   check here too, key should be string of merge_token is a dict of string



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