{"action":"created","issue":{"url":"https://api.github.com/repos/caskdata/cdap/issues/1250","labels_url":"https://api.github.com/repos/caskdata/cdap/issues/1250/labels{/name}","comments_url":"https://api.github.com/repos/caskdata/cdap/issues/1250/comments","events_url":"https://api.github.com/repos/caskdata/cdap/issues/1250/events","html_url":"https://github.com/caskdata/cdap/pull/1250","id":56889888,"number":1250,"title":"GetStreamStatsCommand","user":{"login":"jwang47","id":1084704,"avatar_url":"https://avatars.githubusercontent.com/u/1084704?v=3","gravatar_id":"","url":"https://api.github.com/users/jwang47","html_url":"https://github.com/jwang47","followers_url":"https://api.github.com/users/jwang47/followers","following_url":"https://api.github.com/users/jwang47/following{/other_user}","gists_url":"https://api.github.com/users/jwang47/gists{/gist_id}","starred_url":"https://api.github.com/users/jwang47/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwang47/subscriptions","organizations_url":"https://api.github.com/users/jwang47/orgs","repos_url":"https://api.github.com/users/jwang47/repos","events_url":"https://api.github.com/users/jwang47/events{/privacy}","received_events_url":"https://api.github.com/users/jwang47/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-07T01:07:37Z","updated_at":"2015-02-07T01:40:40Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/caskdata/cdap/pulls/1250","html_url":"https://github.com/caskdata/cdap/pull/1250","diff_url":"https://github.com/caskdata/cdap/pull/1250.diff","patch_url":"https://github.com/caskdata/cdap/pull/1250.patch"},"body":"Sample output:\r\n\r\n```\r\ncdap (http://localhost:10000)> get stream-stats test\r\nAnalyzing 100 Stream events in the time range [1423272965338, 9223372036854775807]...\r\n\r\ncolumn: cdap_stream_test.name, type: STRING\r\nUnique elements: 1\r\n\r\ncolumn: cdap_stream_test.age, type: INT\r\nUnique elements: 1\r\nHistogram:\r\n  [200, 299]: 1\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/caskdata/cdap/issues/comments/73343559","html_url":"https://github.com/caskdata/cdap/pull/1250#issuecomment-73343559","issue_url":"https://api.github.com/repos/caskdata/cdap/issues/1250","id":73343559,"user":{"login":"jwang47","id":1084704,"avatar_url":"https://avatars.githubusercontent.com/u/1084704?v=3","gravatar_id":"","url":"https://api.github.com/users/jwang47","html_url":"https://github.com/jwang47","followers_url":"https://api.github.com/users/jwang47/followers","following_url":"https://api.github.com/users/jwang47/following{/other_user}","gists_url":"https://api.github.com/users/jwang47/gists{/gist_id}","starred_url":"https://api.github.com/users/jwang47/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwang47/subscriptions","organizations_url":"https://api.github.com/users/jwang47/orgs","repos_url":"https://api.github.com/users/jwang47/repos","events_url":"https://api.github.com/users/jwang47/events{/privacy}","received_events_url":"https://api.github.com/users/jwang47/received_events","type":"User","site_admin":false},"created_at":"2015-02-07T01:40:40Z","updated_at":"2015-02-07T01:40:40Z","body":"We may also want to remove the cdap prefix (`cdap_stream_`) when displaying the output.\r\n\r\nInstead of\r\n\r\n```\r\ncolumn: cdap_stream_test.age, type: INT\r\n```\r\n\r\nwe can have\r\n\r\n```\r\ncolumn: age, type: INT\r\n```\r\n\r\nAny opinions on this?"}}