infzo commented on issue #37136:
URL: https://github.com/apache/arrow/issues/37136#issuecomment-1675791241
> ```c++
> /// Options for the S3FileSystem implementation.
> struct ARROW_EXPORT S3Options {
> /// \brief AWS region to connect to.
> ///
> /// If unset, the AWS SDK will choose a default value. The exact
algorithm
> /// depends on the SDK version. Before 1.8, the default is hardcoded
> /// to "us-east-1". Since 1.8, several heuristics are used to determine
> /// the region (environment variables, configuration profile, EC2
metadata
> /// server).
> std::string region;
>
> /// \brief Socket connection timeout, in seconds
> ///
> /// If negative, the AWS SDK default value is used (typically 1 second).
> double connect_timeout = -1;
> ```
>
> I'm not familiar with Python code, maybe you could search S3Options. Maybe
you can take a look at:
https://github.com/apache/arrow/blob/main/python/pyarrow/_s3fs.pyx#L202
>
> By the way, maybe you can switch to a better network env...
It's my oversight, I'm using arrow 9.0.0, and there's no timeout option yet.
--
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]