Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-5512

Standardize error handling in ScanBatch

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.10.0
    • Fix Version/s: 1.11.0
    • Component/s: None
    • Labels:

      Description

      ScanBatch is the Drill operator executor that handles most readers. Like most Drill operators, it uses an ad-hoc set of error detection and reporting methods that evolved over Drill development.

      This ticket asks to standardize on error handling as outlined in DRILL-5083. This basically means reporting all errors as a UserException rather than using the IterOutcome.STOP return status or using the FragmentContext.fail() method.

      This work requires the new error codes introduced in DRILL-5511, and is a step toward making readers aware of vector size limits.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                paul-rogers Paul Rogers
                Reporter:
                paul-rogers Paul Rogers
                Reviewer:
                Sorabh Hamirwasia
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: