[
https://issues.apache.org/jira/browse/LENS-1213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15372811#comment-15372811
]
Rajat Khandelwal commented on LENS-1213:
----------------------------------------
Found this while writing the python client. Solutions can be either to change
at the rest api and handle this, or handle this for each client. That will mean
python client, java client, nodejs client, ...
> Inconsistency b/w inmemory and persistent result in case a column is null
> -------------------------------------------------------------------------
>
> Key: LENS-1213
> URL: https://issues.apache.org/jira/browse/LENS-1213
> Project: Apache Lens
> Issue Type: Task
> Reporter: Rajat Khandelwal
>
> csv has row as:
> {noformat}
> ['NULL', 2280.556706]
> {noformat}
> While inmemory result api gives the following json:
> {noformat}
> {
> "values" : [ null, {
> "type" : "double",
> "value" : 2280.556706
> } ]
> }
> {noformat}
> instead of other non-null values that are like:
> {noformat}
> {
> "values" : [ {
> "type" : "string",
> "value" : "Some value"
> }, {
> "type" : "double",
> "value" : 851.696266
> } ]
> },
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)