You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Arina Ielchiieva (JIRA)" <ji...@apache.org> on 2017/11/20 15:45:00 UTC
[jira] [Commented] (DRILL-5980) Make queryType param for REST API
case insensitive
[ https://issues.apache.org/jira/browse/DRILL-5980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16259386#comment-16259386 ]
Arina Ielchiieva commented on DRILL-5980:
-----------------------------------------
Could you please add link to Drill code where change should be done?
> 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)