{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/redash/issues/464","repository_url":"https://api.github.com/repos/mozilla/redash","labels_url":"https://api.github.com/repos/mozilla/redash/issues/464/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/redash/issues/464/comments","events_url":"https://api.github.com/repos/mozilla/redash/issues/464/events","html_url":"https://github.com/mozilla/redash/issues/464","id":343220921,"node_id":"MDU6SXNzdWUzNDMyMjA5MjE=","number":464,"title":" Disable SQL auto-formatter by default","user":{"login":"jezdez","id":1610,"node_id":"MDQ6VXNlcjE2MTA=","avatar_url":"https://avatars0.githubusercontent.com/u/1610?v=4","gravatar_id":"","url":"https://api.github.com/users/jezdez","html_url":"https://github.com/jezdez","followers_url":"https://api.github.com/users/jezdez/followers","following_url":"https://api.github.com/users/jezdez/following{/other_user}","gists_url":"https://api.github.com/users/jezdez/gists{/gist_id}","starred_url":"https://api.github.com/users/jezdez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jezdez/subscriptions","organizations_url":"https://api.github.com/users/jezdez/orgs","repos_url":"https://api.github.com/users/jezdez/repos","events_url":"https://api.github.com/users/jezdez/events{/privacy}","received_events_url":"https://api.github.com/users/jezdez/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-07-20T19:23:01Z","updated_at":"2018-07-20T19:31:42Z","closed_at":null,"author_association":"MEMBER","body":"To quote @harterrt in [1477317](https://bugzilla.mozilla.org/show_bug.cgi?id=1477317):\r\n\r\n> The SQL formatter in re:dash should not be enabled by default. It disagrees with the SQL style guide and is generally more harmful than helpful in my experience."},"comment":{"url":"https://api.github.com/repos/mozilla/redash/issues/comments/406704818","html_url":"https://github.com/mozilla/redash/issues/464#issuecomment-406704818","issue_url":"https://api.github.com/repos/mozilla/redash/issues/464","id":406704818,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNjcwNDgxOA==","user":{"login":"jezdez","id":1610,"node_id":"MDQ6VXNlcjE2MTA=","avatar_url":"https://avatars0.githubusercontent.com/u/1610?v=4","gravatar_id":"","url":"https://api.github.com/users/jezdez","html_url":"https://github.com/jezdez","followers_url":"https://api.github.com/users/jezdez/followers","following_url":"https://api.github.com/users/jezdez/following{/other_user}","gists_url":"https://api.github.com/users/jezdez/gists{/gist_id}","starred_url":"https://api.github.com/users/jezdez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jezdez/subscriptions","organizations_url":"https://api.github.com/users/jezdez/orgs","repos_url":"https://api.github.com/users/jezdez/repos","events_url":"https://api.github.com/users/jezdez/events{/privacy}","received_events_url":"https://api.github.com/users/jezdez/received_events","type":"User","site_admin":false},"created_at":"2018-07-20T19:31:42Z","updated_at":"2018-07-20T19:31:42Z","author_association":"MEMBER","body":"FTR we use the [sqlparse](http://sqlparse.readthedocs.io) library to do the reformatting, if you can match the style to the [provided options](http://sqlparse.readthedocs.io/en/latest/api/#formatting-of-sql-statements), sure it's possible to match it. Otherwise this would need to be replaced with something else.\r\n\r\nI should note, this feature is planned to be ported upstream, so any solution would require a non-NIH approach."}}
{"actor":{"display_login":"jezdez"}}