[
https://issues.apache.org/jira/browse/SQOOP-2162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14345450#comment-14345450
]
ASF subversion and git services commented on SQOOP-2162:
--------------------------------------------------------
Commit 36663eb399e54dd978987fb8fc0bd422269f3c12 in sqoop's branch
refs/heads/sqoop2 from [~jarcec]
[ https://git-wip-us.apache.org/repos/asf?p=sqoop.git;h=36663eb ]
SQOOP-2162: Sqoop2: InputEditable should be optional in JSON API
(Abraham Elmahrek via Jarek Jarcec Cecho)
> Sqoop2: InputEditable should be optional in JSON API
> ----------------------------------------------------
>
> Key: SQOOP-2162
> URL: https://issues.apache.org/jira/browse/SQOOP-2162
> Project: Sqoop
> Issue Type: Bug
> Components: sqoop2-api
> Affects Versions: 1.99.5
> Reporter: Abraham Elmahrek
> Assignee: Abraham Elmahrek
> Fix For: 1.99.6
>
> Attachments: SQOOP-2162.0.patch
>
>
> Currently, it is not optional. The following JSON request will throw an
> exception:
> {code:type=json}
> {
> "id": -1,
> "inputs": [
> {
> "id": -1,
> "name": "Enum",
> "overrides": "",
> "sensitive": false,
> "type": "ENUM",
> "value": "YES",
> "values": "YES,NO"
> }
> ],
> "name": "c",
> "type": "JOB"
> }
> {code}
> This breaks backwards compatibiltiy of our APIs. This Jira should fix that by
> providing a default value.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)