sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Abraham Elmahrek (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SQOOP-2162) Sqoop2: InputEditable should be optional in JSON API
Date Mon, 02 Mar 2015 21:37:06 GMT

     [ https://issues.apache.org/jira/browse/SQOOP-2162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Abraham Elmahrek updated SQOOP-2162:
------------------------------------
    Description: 
Currently, it is not optional. The following JSON request will throw an exception:

{code:type=json}
{"id":-1,"inputs":[{"id":-1,"overrides":"","name":"String","value":"A","type":"STRING","size":30,"sensitive":false},{"id":-1,"overrides":"","name":"Map","value":{"A":"B"},"type":"MAP","sensitive":false},{"id":-1,"overrides":"","name":"Integer","value":"1","type":"INTEGER","sensitive":false},{"id":-1,"overrides":"","name":"Long","type":"LONG","sensitive":false},{"id":-1,"overrides":"","name":"Boolean","value":"true","type":"BOOLEAN","sensitive":false},{"id":-1,"values":"YES,NO","overrides":"","name":"Enum","value":"YES","type":"ENUM","sensitive":false}],"name":"c","type":"JOB"}
{code}

  was:Currently, it is not optional.


> 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
>
>
> Currently, it is not optional. The following JSON request will throw an exception:
> {code:type=json}
> {"id":-1,"inputs":[{"id":-1,"overrides":"","name":"String","value":"A","type":"STRING","size":30,"sensitive":false},{"id":-1,"overrides":"","name":"Map","value":{"A":"B"},"type":"MAP","sensitive":false},{"id":-1,"overrides":"","name":"Integer","value":"1","type":"INTEGER","sensitive":false},{"id":-1,"overrides":"","name":"Long","type":"LONG","sensitive":false},{"id":-1,"overrides":"","name":"Boolean","value":"true","type":"BOOLEAN","sensitive":false},{"id":-1,"values":"YES,NO","overrides":"","name":"Enum","value":"YES","type":"ENUM","sensitive":false}],"name":"c","type":"JOB"}
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message