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

[C++][Python] Improve error message when trying use SyncScanner when requiring async

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 6.0.0
    • C++

    Description

      See ARROW-14257

      The current error message gives "Asynchronous scanning is not supported by SyncScanner"

      Copying the comment of Weston Pace:

      In Python it is always use_async=True. In R the scanner is hidden from the user on dataset writes but the option there is use_async as well. In C++ the option is UseAsync in the ScannerBuilder. How about,

      "Writing datasets requires that the input scanner is configured to scan asynchronously via the use_async or UseAsync options."

      Attachments

        Issue Links

          Activity

            People

              westonpace Weston Pace
              jorisvandenbossche Joris Van den Bossche
              Votes:
              0 Vote for this issue
              Watchers:
              3 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 - 1h 10m
                  1h 10m

                  Slack

                    Issue deployment