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

Make queryType param for REST API case insensitive

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.11.0
    • Fix Version/s: 1.12.0
    • Component/s: Web Server
    • Labels:

      Description

      QueryType uses `valueOf` to load appropriate enum, but this fails on incorrect case for the argument. I have found this to be a breaking change between 1.10 and 1.11. This could be improve to use `upcase()` to get the enum.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ChrisSandison Chris Sandison
                Reporter:
                ChrisSandison Chris Sandison
                Reviewer:
                Arina Ielchiieva
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 3h
                  3h
                  Remaining:
                  Remaining Estimate - 3h
                  3h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified