amoeba commented on issue #38032:
URL: https://github.com/apache/arrow/issues/38032#issuecomment-1751273384

   > ...had time to implement that before 13.0.0!
   
   Unfortunately, no. And I don't think we have a way to adjust log level from 
R at the moment. Just Python and C++. 
   
   To that point, I think it would be useful here if we could reproduce the 
same performance from Python (PyArrow) or Arrow C++ since we can set the log 
level in those environments and they're exercising similar code paths. 
Something like this should work:
   
   ```python
   import os
   
   # Workaround from https://github.com/apache/arrow/issues/35575 until fixed
   import pyarrow._s3fs
   pyarrow._s3fs.initialize_s3(pyarrow._s3fs.S3LogLevel.Debug)
   
   from pyarrow import fs
   
   s3  = fs.S3FileSystem(
     region = "",
     access_key=os.getenv("ECS_ACCESS_KEY_ID"),
     secret_key=os.getenv("ECS_SECRET_ACCESS_KEY"),
     endpoint_override=os.getenv("ECS_S3_ENDPOINT_URL")
   )
   
   table = pq.read_table(os.getenv("ECS_S3_BUCKET") + "/path/to/object", 
filesystem=s3)
   ```
   
   @kostovasandra would you be willing to give that a try for us? I think it'd 
be a big help here.


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