[
https://issues.apache.org/jira/browse/DRILL-5980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16261475#comment-16261475
]
ASF GitHub Bot commented on DRILL-5980:
---------------------------------------
GitHub user ChrisSandison opened a pull request:
https://github.com/apache/drill/pull/1044
DRILL-5980: Making queryType param for REST client case-insensitive
Fixes #5980
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ChrisSandison/drill DRILL-5980
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/drill/pull/1044.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1044
----
commit 4ee5f80839ef9afdb1ba4132e23b14013a3330d4
Author: chris <[email protected]>
Date: 2017-11-21T20:53:45Z
DRILL-5980: Making queryType param for REST client case-insensitive
Fixes #5980
----
> Make queryType param for REST API case insensitive
> --------------------------------------------------
>
> Key: DRILL-5980
> URL: https://issues.apache.org/jira/browse/DRILL-5980
> Project: Apache Drill
> Issue Type: Wish
> Reporter: Chris Sandison
> Assignee: Chris Sandison
> Priority: Minor
> Original Estimate: 3h
> Remaining Estimate: 3h
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)