{"action":"created","issue":{"url":"https://api.github.com/repos/apache/zeppelin/issues/2129","repository_url":"https://api.github.com/repos/apache/zeppelin","labels_url":"https://api.github.com/repos/apache/zeppelin/issues/2129/labels{/name}","comments_url":"https://api.github.com/repos/apache/zeppelin/issues/2129/comments","events_url":"https://api.github.com/repos/apache/zeppelin/issues/2129/events","html_url":"https://github.com/apache/zeppelin/pull/2129","id":213750807,"number":2129,"title":"[ZEPPELIN-2252] discreteness of line charts","user":{"login":"tinkoff-dwh","id":25951039,"avatar_url":"https://avatars2.githubusercontent.com/u/25951039?v=3","gravatar_id":"","url":"https://api.github.com/users/tinkoff-dwh","html_url":"https://github.com/tinkoff-dwh","followers_url":"https://api.github.com/users/tinkoff-dwh/followers","following_url":"https://api.github.com/users/tinkoff-dwh/following{/other_user}","gists_url":"https://api.github.com/users/tinkoff-dwh/gists{/gist_id}","starred_url":"https://api.github.com/users/tinkoff-dwh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tinkoff-dwh/subscriptions","organizations_url":"https://api.github.com/users/tinkoff-dwh/orgs","repos_url":"https://api.github.com/users/tinkoff-dwh/repos","events_url":"https://api.github.com/users/tinkoff-dwh/events{/privacy}","received_events_url":"https://api.github.com/users/tinkoff-dwh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-03-13T12:21:40Z","updated_at":"2017-03-14T17:28:53Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/zeppelin/pulls/2129","html_url":"https://github.com/apache/zeppelin/pull/2129","diff_url":"https://github.com/apache/zeppelin/pull/2129.diff","patch_url":"https://github.com/apache/zeppelin/pull/2129.patch"},"body":"### What is this PR for?\r\nAdded a discreteness in the line chart. Correcting the display of the chart, when the values does not exist at the point (by default Y is set to 0, at the moment). A value of 0 is unclear (it is real value from data or it is default value).\r\n\r\n### What type of PR is it?\r\nImprovement\r\n\r\n### What is the Jira issue?\r\nhttps://issues.apache.org/jira/browse/ZEPPELIN-2252\r\n\r\n### How should this be tested?\r\n1. Spark interpreter\r\n```\r\nvar text = \"\"\"g1,1\r\ng1,1\r\ng1,2\r\ng1,3\r\ng1,5\r\ng1,5\r\ng2,1\r\ng2,1\r\ng2,2\r\ng2,2\r\ng2,6\r\ng2,6\r\ng2,7\r\ng2,7\r\ng2,7\"\"\"\r\n\r\nval array = sc.parallelize(text.split('\\n'))\r\n\r\ncase class Line(group: String, value: Integer)\r\n\r\nval line = array.map(s => s.split(\",\")).map(\r\n    s => Line(s(0), \r\n            s(1).toInt\r\n        )\r\n).toDF()\r\nline.registerTempTable(\"lines\")\r\n```\r\n2.\r\n```\r\n%sql\r\nselect *from lines\r\n```\r\nSettings of chart on screenshot\r\n\r\n### Screenshots (if appropriate)\r\nbefore\r\n![2](https://cloud.githubusercontent.com/assets/25951039/23853622/364b74a0-080f-11e7-9860-c7de95bc1507.png)\r\nafter\r\n![1](https://cloud.githubusercontent.com/assets/25951039/23853621/364936b8-080f-11e7-9ac6-bbbdd8235be3.png)\r\n\r\n### Questions:\r\n* Does the licenses files need update? no\r\n* Is there breaking changes for older versions? no\r\n* Does this needs documentation? no\r\n"},"comment":{"url":"https://api.github.com/repos/apache/zeppelin/issues/comments/286497879","html_url":"https://github.com/apache/zeppelin/pull/2129#issuecomment-286497879","issue_url":"https://api.github.com/repos/apache/zeppelin/issues/2129","id":286497879,"user":{"login":"tinkoff-dwh","id":25951039,"avatar_url":"https://avatars2.githubusercontent.com/u/25951039?v=3","gravatar_id":"","url":"https://api.github.com/users/tinkoff-dwh","html_url":"https://github.com/tinkoff-dwh","followers_url":"https://api.github.com/users/tinkoff-dwh/followers","following_url":"https://api.github.com/users/tinkoff-dwh/following{/other_user}","gists_url":"https://api.github.com/users/tinkoff-dwh/gists{/gist_id}","starred_url":"https://api.github.com/users/tinkoff-dwh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tinkoff-dwh/subscriptions","organizations_url":"https://api.github.com/users/tinkoff-dwh/orgs","repos_url":"https://api.github.com/users/tinkoff-dwh/repos","events_url":"https://api.github.com/users/tinkoff-dwh/events{/privacy}","received_events_url":"https://api.github.com/users/tinkoff-dwh/received_events","type":"User","site_admin":false},"created_at":"2017-03-14T17:28:53Z","updated_at":"2017-03-14T17:28:53Z","body":"CI red because i did squash commits and compares incorrect in travis. Reopen PR don't rebuild with new commits."}}
{"actor":{"display_login":"tinkoff-dwh"}}