Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-17057

[Python] S3FileSystem has no parameter for retry strategy

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 6.0.1, 7.0.0, 8.0.0
    • 10.0.0
    • Python

    Description

      The Python wrapper for S3Fs does not accept a retry_strategy parameter, but the underlying C++ implementation supports it.

       

      Python wrapper's constructor arguments:
      https://github.com/apache/arrow/blob/master/python/pyarrow/_s3fs.pyx#L181
       
      C++ base: https://github.com/apache/arrow/blob/master/cpp/src/arrow/filesystem/s3fs.cc#L729
       
      The result is that Python users of S3Fs always default to the legacy retry strategy, which is very limited.
       
      Suggested fix is to allow the Python wrapper to specify a retry strategy to be passed through to the wrapped C++ implementation.

      Attachments

        Issue Links

          Activity

            People

              MacQuarrie Duncan
              MacQuarrie Duncan
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 8h 40m
                  8h 40m