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

Make queryType param for REST API case insensitive

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.11.0
    • 1.12.0
    • Web Server

    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

              ChrisSandison Chris Sandison
              ChrisSandison Chris Sandison
              Arina Ielchiieva 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