ChangxingJiang commented on issue #2544:
URL: 
https://github.com/apache/iceberg-python/issues/2544#issuecomment-3540101818

   > yea seems like the signer is using a new session instead of reusing the 
catalog's
   > 
   > 
[iceberg-python/pyiceberg/io/fsspec.py](https://github.com/apache/iceberg-python/blob/a793fe59223c3d193d561ce036d8631694619f74/pyiceberg/io/fsspec.py#L121)
   > 
   > Line 121 in 
[a793fe5](/apache/iceberg-python/commit/a793fe59223c3d193d561ce036d8631694619f74)
   > 
   >  self._session = requests.Session()
   
   Yes, is because of this. Now OAuth is only init in use in 
`catalog.rest.RestCatalog`. I Debug in `S3V4RestSigner.__call__`, there is no 
token can be use in `request` or `self.properties`. Maybe we should init a new 
`LegacyOAuth2AuthManager` in  `S3V4RestSigner`?


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