{"action":"opened","issue":{"url":"https://api.github.com/repos/metabase/metabase/issues/1676","labels_url":"https://api.github.com/repos/metabase/metabase/issues/1676/labels{/name}","comments_url":"https://api.github.com/repos/metabase/metabase/issues/1676/comments","events_url":"https://api.github.com/repos/metabase/metabase/issues/1676/events","html_url":"https://github.com/metabase/metabase/issues/1676","id":121830241,"number":1676,"title":"UI ignores the columns from the Query Processor and does what it wants","user":{"login":"camsaul","id":1455846,"avatar_url":"https://avatars.githubusercontent.com/u/1455846?v=3","gravatar_id":"","url":"https://api.github.com/users/camsaul","html_url":"https://github.com/camsaul","followers_url":"https://api.github.com/users/camsaul/followers","following_url":"https://api.github.com/users/camsaul/following{/other_user}","gists_url":"https://api.github.com/users/camsaul/gists{/gist_id}","starred_url":"https://api.github.com/users/camsaul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/camsaul/subscriptions","organizations_url":"https://api.github.com/users/camsaul/orgs","repos_url":"https://api.github.com/users/camsaul/repos","events_url":"https://api.github.com/users/camsaul/events{/privacy}","received_events_url":"https://api.github.com/users/camsaul/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/metabase/metabase/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/metabase/metabase/labels/Priority/P1","name":"Priority/P1","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/metabase/metabase/milestones/7","html_url":"https://github.com/metabase/metabase/milestones/0.14.0","labels_url":"https://api.github.com/repos/metabase/metabase/milestones/7/labels","id":1305739,"number":7,"title":"0.14.0","description":"","creator":{"login":"salsakran","id":107439,"avatar_url":"https://avatars.githubusercontent.com/u/107439?v=3","gravatar_id":"","url":"https://api.github.com/users/salsakran","html_url":"https://github.com/salsakran","followers_url":"https://api.github.com/users/salsakran/followers","following_url":"https://api.github.com/users/salsakran/following{/other_user}","gists_url":"https://api.github.com/users/salsakran/gists{/gist_id}","starred_url":"https://api.github.com/users/salsakran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/salsakran/subscriptions","organizations_url":"https://api.github.com/users/salsakran/orgs","repos_url":"https://api.github.com/users/salsakran/repos","events_url":"https://api.github.com/users/salsakran/events{/privacy}","received_events_url":"https://api.github.com/users/salsakran/received_events","type":"User","site_admin":false},"open_issues":39,"closed_issues":2,"state":"open","created_at":"2015-09-15T05:55:25Z","updated_at":"2015-12-12T03:17:07Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-12-12T03:17:07Z","updated_at":"2015-12-12T03:17:07Z","closed_at":null,"body":"I run a query like this:\r\n```clojure\r\n{:database 457,\r\n :type \"query\",\r\n :query\r\n {:source_table 2144,\r\n  :aggregation [\"count\"],\r\n  :breakout [[\"datetime_field\" 14244 \"as\" \"week\"] 14241],\r\n  :filter [],\r\n  :limit 10},\r\n :constraints {:max-results 10000, :max-results-bare-rows 2000}}\r\n```\r\n\r\nAnd get back these results:\r\n```clojure\r\n{:row_count 10,\r\n :status :completed,\r\n :data\r\n {:cols\r\n  [{:description nil,\r\n    :table_id 2144,\r\n    :schema_name nil,\r\n    :special_type :id,\r\n    :unit :week,\r\n    :name \"timestamp\",\r\n    :extra_info {},\r\n    :id 14244,\r\n    :target nil,\r\n    :preview_display true,\r\n    :display_name \"Timestamp\",\r\n    :base_type :DateTimeField}\r\n   {:description nil,\r\n    :table_id 2144,\r\n    :schema_name nil,\r\n    :special_type :city,\r\n    :name \"city\",\r\n    :extra_info {},\r\n    :id 14241,\r\n    :target nil,\r\n    :preview_display true,\r\n    :display_name \"City\",\r\n    :base_type :TextField}\r\n   {:description nil, :id nil, :table_id nil, :base_type :IntegerField, :name \"count\", :display_name \"count\", :special_type :number, :target nil, :extra_info {}}],\r\n  :columns [\"timestamp\" \"city\" \"count\"],\r\n  :rows\r\n  ([\"2015-12-06\" nil 477053]\r\n   [\"2015-12-06\" \"'Ewa Beach\" 3]\r\n   [\"2015-12-06\" \"'s-Gravendeel\" 2]\r\n   [\"2015-12-06\" \"A Coruña\" 2]\r\n   [\"2015-12-06\" \"Aabenraa\" 1]\r\n   [\"2015-12-06\" \"Aach\" 2]\r\n   [\"2015-12-06\" \"Aachen\" 23]\r\n   [\"2015-12-06\" \"Aalborg\" 5]\r\n   [\"2015-12-06\" \"Aalen\" 9]\r\n   [\"2015-12-06\" \"Aarburg\" 1])}}\r\n```\r\n\r\nBut this is what I see in the UI:\r\n\r\n![screen shot 2015-12-11 at 7 16 00 pm](https://cloud.githubusercontent.com/assets/1455846/11759933/b406e06a-a03b-11e5-8e6f-02d78bae2c3f.png)\r\n"}}