{"action":"created","issue":{"url":"https://api.github.com/repos/druid-io/druid/issues/1825","labels_url":"https://api.github.com/repos/druid-io/druid/issues/1825/labels{/name}","comments_url":"https://api.github.com/repos/druid-io/druid/issues/1825/comments","events_url":"https://api.github.com/repos/druid-io/druid/issues/1825/events","html_url":"https://github.com/druid-io/druid/issues/1825","id":111343919,"number":1825,"title":"Total count differed by different dim order","user":{"login":"sundy-li","id":3325189,"avatar_url":"https://avatars.githubusercontent.com/u/3325189?v=3","gravatar_id":"","url":"https://api.github.com/users/sundy-li","html_url":"https://github.com/sundy-li","followers_url":"https://api.github.com/users/sundy-li/followers","following_url":"https://api.github.com/users/sundy-li/following{/other_user}","gists_url":"https://api.github.com/users/sundy-li/gists{/gist_id}","starred_url":"https://api.github.com/users/sundy-li/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sundy-li/subscriptions","organizations_url":"https://api.github.com/users/sundy-li/orgs","repos_url":"https://api.github.com/users/sundy-li/repos","events_url":"https://api.github.com/users/sundy-li/events{/privacy}","received_events_url":"https://api.github.com/users/sundy-li/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-10-14T07:56:26Z","updated_at":"2015-10-14T14:43:12Z","closed_at":"2015-10-14T14:40:09Z","body":"Hi, I found a bug as follows:\r\n\r\n\r\n```\r\n \"aggregations\": [\r\n    {\r\n      \"byRow\": true,\r\n      \"fieldNames\": [\r\n        \"dim1\",\r\n        \"dim2\"\r\n      ],\r\n      \"name\": \"totalCount\",\r\n      \"type\": \"cardinality\"\r\n    }\r\n  ]\r\n\r\n```\r\n\r\n\r\n\r\n```\r\n \"aggregations\": [\r\n    {\r\n      \"byRow\": true,\r\n      \"fieldNames\": [\r\n       \"dim2\",\r\n       \"dim1\"\r\n      ],\r\n      \"name\": \"totalCount\",\r\n      \"type\": \"cardinality\"\r\n    }\r\n  ]\r\n\r\n```\r\n\r\nThat results to different count~\r\n"},"comment":{"url":"https://api.github.com/repos/druid-io/druid/issues/comments/148071951","html_url":"https://github.com/druid-io/druid/issues/1825#issuecomment-148071951","issue_url":"https://api.github.com/repos/druid-io/druid/issues/1825","id":148071951,"user":{"login":"drcrallen","id":8213081,"avatar_url":"https://avatars.githubusercontent.com/u/8213081?v=3","gravatar_id":"","url":"https://api.github.com/users/drcrallen","html_url":"https://github.com/drcrallen","followers_url":"https://api.github.com/users/drcrallen/followers","following_url":"https://api.github.com/users/drcrallen/following{/other_user}","gists_url":"https://api.github.com/users/drcrallen/gists{/gist_id}","starred_url":"https://api.github.com/users/drcrallen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drcrallen/subscriptions","organizations_url":"https://api.github.com/users/drcrallen/orgs","repos_url":"https://api.github.com/users/drcrallen/repos","events_url":"https://api.github.com/users/drcrallen/events{/privacy}","received_events_url":"https://api.github.com/users/drcrallen/received_events","type":"User","site_admin":false},"created_at":"2015-10-14T14:43:12Z","updated_at":"2015-10-14T14:43:12Z","body":"I also have filed https://github.com/druid-io/druid/issues/1826 to make sure the expected behavior is better spelled out in the docs."}}