{"action":"closed","issue":{"url":"https://api.github.com/repos/cloudera/hue/issues/157","labels_url":"https://api.github.com/repos/cloudera/hue/issues/157/labels{/name}","comments_url":"https://api.github.com/repos/cloudera/hue/issues/157/comments","events_url":"https://api.github.com/repos/cloudera/hue/issues/157/events","html_url":"https://github.com/cloudera/hue/issues/157","id":60157691,"number":157,"title":"Recent queries display character encoding in view and in query editor","user":{"login":"jpsandiego","id":4481208,"avatar_url":"https://avatars.githubusercontent.com/u/4481208?v=3","gravatar_id":"","url":"https://api.github.com/users/jpsandiego","html_url":"https://github.com/jpsandiego","followers_url":"https://api.github.com/users/jpsandiego/followers","following_url":"https://api.github.com/users/jpsandiego/following{/other_user}","gists_url":"https://api.github.com/users/jpsandiego/gists{/gist_id}","starred_url":"https://api.github.com/users/jpsandiego/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpsandiego/subscriptions","organizations_url":"https://api.github.com/users/jpsandiego/orgs","repos_url":"https://api.github.com/users/jpsandiego/repos","events_url":"https://api.github.com/users/jpsandiego/events{/privacy}","received_events_url":"https://api.github.com/users/jpsandiego/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"enricoberti","id":751894,"avatar_url":"https://avatars.githubusercontent.com/u/751894?v=3","gravatar_id":"","url":"https://api.github.com/users/enricoberti","html_url":"https://github.com/enricoberti","followers_url":"https://api.github.com/users/enricoberti/followers","following_url":"https://api.github.com/users/enricoberti/following{/other_user}","gists_url":"https://api.github.com/users/enricoberti/gists{/gist_id}","starred_url":"https://api.github.com/users/enricoberti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enricoberti/subscriptions","organizations_url":"https://api.github.com/users/enricoberti/orgs","repos_url":"https://api.github.com/users/enricoberti/repos","events_url":"https://api.github.com/users/enricoberti/events{/privacy}","received_events_url":"https://api.github.com/users/enricoberti/received_events","type":"User","site_admin":false},"milestone":null,"comments":6,"created_at":"2015-03-06T20:57:58Z","updated_at":"2015-03-24T16:58:43Z","closed_at":"2015-03-24T16:58:43Z","body":"I am testing an upgrade from CDH 5.0.2 to CDH 5.3.2 and Hue 3.5.0 to Hue 3.7.0 (also Hive 0.12.0 to Hive 0.13.0) and within the Query Editor screen (A) I have lost my recent queries history that I thought should have imported/merged during the upgrade and (B) more importantly, I'm getting character encoding showing up in the 'Recent queries' view. So after I run \"select * from tablename WHERE UTC = '2015-03-05' LIMIT 10\", the recent query will show \r\n```select * from tablename WHERE UTC = &#39;2015-03-05&#39; LIMIT 10```\r\n\r\nQuestions\r\nA) Is the loss of recent history expected?\r\nB) Is the encoding a configuration issue? \r\n\r\nIn the saved config and the new config I see that both had the encoding parameter commented-out:\r\nhue.ini:  ## default_site_encoding=utf-8\r\nhue.ini.rpmnew:  ## default_site_encoding=utf-8\r\n\r\nEnabling utf-8 in hue.ini and restarting doesn't change the visual effect\r\n\r\nClicking on the item from recent history so that it populates the Query Editor does cause the correct/valid query to be rendered.\r\n"}}