Naman Mishra created ZEPPELIN-3091: -------------------------------------- Summary: Charts show incorrect output for aggregation operations in case of 'null' values Key: ZEPPELIN-3091 URL: https://issues.apache.org/jira/browse/ZEPPELIN-3091 Project: Zeppelin Issue Type: Bug Reporter: Naman Mishra Assignee: Naman Mishra
When the output data for a paragraph has 'null' or empty values, graph view with aggregation operations such as sum, avg, max, min display incorrect output. Steps to reproduce: Update the data field of a paragraph results with %table to contain null values, e.g., {noformat} "data": "age\tvalue\n19\t4\n19\tnull\n19\tnull\n20\t3\n21\t7\n22\t9\n23\t20\n24\t24\n25\t44\n26\t77\n27\t94\n28\t103\n29\t97\n" {noformat} Now the sum of values grouped by age will show 6 instead of 4 for the key 19 in the histogram and other charts. The table shows the correct output. See attached images. Similar errors can also be seen with avg, max and min. -- This message was sent by Atlassian JIRA (v6.4.14#64029)