{"action":"opened","number":6750,"pull_request":{"url":"https://api.github.com/repos/grafana/grafana/pulls/6750","id":95830870,"html_url":"https://github.com/grafana/grafana/pull/6750","diff_url":"https://github.com/grafana/grafana/pull/6750.diff","patch_url":"https://github.com/grafana/grafana/pull/6750.patch","issue_url":"https://api.github.com/repos/grafana/grafana/issues/6750","number":6750,"state":"open","locked":false,"title":"[RFC] Don't quote everything in InfluxQL.","user":{"login":"philip-wernersbach","id":1757297,"avatar_url":"https://avatars.githubusercontent.com/u/1757297?v=3","gravatar_id":"","url":"https://api.github.com/users/philip-wernersbach","html_url":"https://github.com/philip-wernersbach","followers_url":"https://api.github.com/users/philip-wernersbach/followers","following_url":"https://api.github.com/users/philip-wernersbach/following{/other_user}","gists_url":"https://api.github.com/users/philip-wernersbach/gists{/gist_id}","starred_url":"https://api.github.com/users/philip-wernersbach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philip-wernersbach/subscriptions","organizations_url":"https://api.github.com/users/philip-wernersbach/orgs","repos_url":"https://api.github.com/users/philip-wernersbach/repos","events_url":"https://api.github.com/users/philip-wernersbach/events{/privacy}","received_events_url":"https://api.github.com/users/philip-wernersbach/received_events","type":"User","site_admin":false},"body":"This allows Grafana to support my InfluxDB-to-MySQL protocol converter, https://github.com/philip-wernersbach/influx-mysql.\r\n\r\nThis is necessary because InfluxQL statements can literally have everything quoted (column names, integers, literals, etc.), and InfluxDB will parse the statement and then convert the quoted strings into the proper types. SQL databases will happily accept these statements, but the behavior is undefined when you do SQL comparisons with the quoted strings and the properly typed database columns.\r\n\r\nThis probably isn't good enough to be merged into Grafana as-is, but I'm hoping to get feedback so I can refine this and get it included into Grafana.","created_at":"2016-11-30T05:39:59Z","updated_at":"2016-11-30T05:39:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/grafana/grafana/pulls/6750/commits","review_comments_url":"https://api.github.com/repos/grafana/grafana/pulls/6750/comments","review_comment_url":"https://api.github.com/repos/grafana/grafana/pulls/comments{/number}","comments_url":"https://api.github.com/repos/grafana/grafana/issues/6750/comments","statuses_url":"https://api.github.com/repos/grafana/grafana/statuses/6c9f8f2db0bcc5582e1df7a282366ba4a8c2e847","head":{"label":"philip-wernersbach:influxdb-dont-quote-everything","ref":"influxdb-dont-quote-everything","sha":"6c9f8f2db0bcc5582e1df7a282366ba4a8c2e847","user":{"login":"philip-wernersbach","id":1757297,"avatar_url":"https://avatars.githubusercontent.com/u/1757297?v=3","gravatar_id":"","url":"https://api.github.com/users/philip-wernersbach","html_url":"https://github.com/philip-wernersbach","followers_url":"https://api.github.com/users/philip-wernersbach/followers","following_url":"https://api.github.com/users/philip-wernersbach/following{/other_user}","gists_url":"https://api.github.com/users/philip-wernersbach/gists{/gist_id}","starred_url":"https://api.github.com/users/philip-wernersbach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philip-wernersbach/subscriptions","organizations_url":"https://api.github.com/users/philip-wernersbach/orgs","repos_url":"https://api.github.com/users/philip-wernersbach/repos","events_url":"https://api.github.com/users/philip-wernersbach/events{/privacy}","received_events_url":"https://api.github.com/users/philip-wernersbach/received_events","type":"User","site_admin":false},"repo":{"id":75150778,"name":"grafana","full_name":"philip-wernersbach/grafana","owner":{"login":"philip-wernersbach","id":1757297,"avatar_url":"https://avatars.githubusercontent.com/u/1757297?v=3","gravatar_id":"","url":"https://api.github.com/users/philip-wernersbach","html_url":"https://github.com/philip-wernersbach","followers_url":"https://api.github.com/users/philip-wernersbach/followers","following_url":"https://api.github.com/users/philip-wernersbach/following{/other_user}","gists_url":"https://api.github.com/users/philip-wernersbach/gists{/gist_id}","starred_url":"https://api.github.com/users/philip-wernersbach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philip-wernersbach/subscriptions","organizations_url":"https://api.github.com/users/philip-wernersbach/orgs","repos_url":"https://api.github.com/users/philip-wernersbach/repos","events_url":"https://api.github.com/users/philip-wernersbach/events{/privacy}","received_events_url":"https://api.github.com/users/philip-wernersbach/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/philip-wernersbach/grafana","description":"Gorgeous metric viz, dashboards & editors for Graphite, InfluxDB & Prometheus","fork":true,"url":"https://api.github.com/repos/philip-wernersbach/grafana","forks_url":"https://api.github.com/repos/philip-wernersbach/grafana/forks","keys_url":"https://api.github.com/repos/philip-wernersbach/grafana/keys{/key_id}","collaborators_url":"https://api.github.com/repos/philip-wernersbach/grafana/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/philip-wernersbach/grafana/teams","hooks_url":"https://api.github.com/repos/philip-wernersbach/grafana/hooks","issue_events_url":"https://api.github.com/repos/philip-wernersbach/grafana/issues/events{/number}","events_url":"https://api.github.com/repos/philip-wernersbach/grafana/events","assignees_url":"https://api.github.com/repos/philip-wernersbach/grafana/assignees{/user}","branches_url":"https://api.github.com/repos/philip-wernersbach/grafana/branches{/branch}","tags_url":"https://api.github.com/repos/philip-wernersbach/grafana/tags","blobs_url":"https://api.github.com/repos/philip-wernersbach/grafana/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/philip-wernersbach/grafana/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/philip-wernersbach/grafana/git/refs{/sha}","trees_url":"https://api.github.com/repos/philip-wernersbach/grafana/git/trees{/sha}","statuses_url":"https://api.github.com/repos/philip-wernersbach/grafana/statuses/{sha}","languages_url":"https://api.github.com/repos/philip-wernersbach/grafana/languages","stargazers_url":"https://api.github.com/repos/philip-wernersbach/grafana/stargazers","contributors_url":"https://api.github.com/repos/philip-wernersbach/grafana/contributors","subscribers_url":"https://api.github.com/repos/philip-wernersbach/grafana/subscribers","subscription_url":"https://api.github.com/repos/philip-wernersbach/grafana/subscription","commits_url":"https://api.github.com/repos/philip-wernersbach/grafana/commits{/sha}","git_commits_url":"https://api.github.com/repos/philip-wernersbach/grafana/git/commits{/sha}","comments_url":"https://api.github.com/repos/philip-wernersbach/grafana/comments{/number}","issue_comment_url":"https://api.github.com/repos/philip-wernersbach/grafana/issues/comments{/number}","contents_url":"https://api.github.com/repos/philip-wernersbach/grafana/contents/{+path}","compare_url":"https://api.github.com/repos/philip-wernersbach/grafana/compare/{base}...{head}","merges_url":"https://api.github.com/repos/philip-wernersbach/grafana/merges","archive_url":"https://api.github.com/repos/philip-wernersbach/grafana/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/philip-wernersbach/grafana/downloads","issues_url":"https://api.github.com/repos/philip-wernersbach/grafana/issues{/number}","pulls_url":"https://api.github.com/repos/philip-wernersbach/grafana/pulls{/number}","milestones_url":"https://api.github.com/repos/philip-wernersbach/grafana/milestones{/number}","notifications_url":"https://api.github.com/repos/philip-wernersbach/grafana/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/philip-wernersbach/grafana/labels{/name}","releases_url":"https://api.github.com/repos/philip-wernersbach/grafana/releases{/id}","deployments_url":"https://api.github.com/repos/philip-wernersbach/grafana/deployments","created_at":"2016-11-30T04:18:04Z","updated_at":"2016-11-30T04:18:08Z","pushed_at":"2016-11-30T05:12:06Z","git_url":"git://github.com/philip-wernersbach/grafana.git","ssh_url":"git@github.com:philip-wernersbach/grafana.git","clone_url":"https://github.com/philip-wernersbach/grafana.git","svn_url":"https://github.com/philip-wernersbach/grafana","homepage":"http://grafana.org","size":151600,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"grafana:master","ref":"master","sha":"09e49f0a174dcb10423b4cd2cb79bab191791665","user":{"login":"grafana","id":7195757,"avatar_url":"https://avatars.githubusercontent.com/u/7195757?v=3","gravatar_id":"","url":"https://api.github.com/users/grafana","html_url":"https://github.com/grafana","followers_url":"https://api.github.com/users/grafana/followers","following_url":"https://api.github.com/users/grafana/following{/other_user}","gists_url":"https://api.github.com/users/grafana/gists{/gist_id}","starred_url":"https://api.github.com/users/grafana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grafana/subscriptions","organizations_url":"https://api.github.com/users/grafana/orgs","repos_url":"https://api.github.com/users/grafana/repos","events_url":"https://api.github.com/users/grafana/events{/privacy}","received_events_url":"https://api.github.com/users/grafana/received_events","type":"Organization","site_admin":false},"repo":{"id":15111821,"name":"grafana","full_name":"grafana/grafana","owner":{"login":"grafana","id":7195757,"avatar_url":"https://avatars.githubusercontent.com/u/7195757?v=3","gravatar_id":"","url":"https://api.github.com/users/grafana","html_url":"https://github.com/grafana","followers_url":"https://api.github.com/users/grafana/followers","following_url":"https://api.github.com/users/grafana/following{/other_user}","gists_url":"https://api.github.com/users/grafana/gists{/gist_id}","starred_url":"https://api.github.com/users/grafana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grafana/subscriptions","organizations_url":"https://api.github.com/users/grafana/orgs","repos_url":"https://api.github.com/users/grafana/repos","events_url":"https://api.github.com/users/grafana/events{/privacy}","received_events_url":"https://api.github.com/users/grafana/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/grafana/grafana","description":"Gorgeous metric viz, dashboards & editors for Graphite, InfluxDB & Prometheus","fork":false,"url":"https://api.github.com/repos/grafana/grafana","forks_url":"https://api.github.com/repos/grafana/grafana/forks","keys_url":"https://api.github.com/repos/grafana/grafana/keys{/key_id}","collaborators_url":"https://api.github.com/repos/grafana/grafana/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/grafana/grafana/teams","hooks_url":"https://api.github.com/repos/grafana/grafana/hooks","issue_events_url":"https://api.github.com/repos/grafana/grafana/issues/events{/number}","events_url":"https://api.github.com/repos/grafana/grafana/events","assignees_url":"https://api.github.com/repos/grafana/grafana/assignees{/user}","branches_url":"https://api.github.com/repos/grafana/grafana/branches{/branch}","tags_url":"https://api.github.com/repos/grafana/grafana/tags","blobs_url":"https://api.github.com/repos/grafana/grafana/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/grafana/grafana/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/grafana/grafana/git/refs{/sha}","trees_url":"https://api.github.com/repos/grafana/grafana/git/trees{/sha}","statuses_url":"https://api.github.com/repos/grafana/grafana/statuses/{sha}","languages_url":"https://api.github.com/repos/grafana/grafana/languages","stargazers_url":"https://api.github.com/repos/grafana/grafana/stargazers","contributors_url":"https://api.github.com/repos/grafana/grafana/contributors","subscribers_url":"https://api.github.com/repos/grafana/grafana/subscribers","subscription_url":"https://api.github.com/repos/grafana/grafana/subscription","commits_url":"https://api.github.com/repos/grafana/grafana/commits{/sha}","git_commits_url":"https://api.github.com/repos/grafana/grafana/git/commits{/sha}","comments_url":"https://api.github.com/repos/grafana/grafana/comments{/number}","issue_comment_url":"https://api.github.com/repos/grafana/grafana/issues/comments{/number}","contents_url":"https://api.github.com/repos/grafana/grafana/contents/{+path}","compare_url":"https://api.github.com/repos/grafana/grafana/compare/{base}...{head}","merges_url":"https://api.github.com/repos/grafana/grafana/merges","archive_url":"https://api.github.com/repos/grafana/grafana/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/grafana/grafana/downloads","issues_url":"https://api.github.com/repos/grafana/grafana/issues{/number}","pulls_url":"https://api.github.com/repos/grafana/grafana/pulls{/number}","milestones_url":"https://api.github.com/repos/grafana/grafana/milestones{/number}","notifications_url":"https://api.github.com/repos/grafana/grafana/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/grafana/grafana/labels{/name}","releases_url":"https://api.github.com/repos/grafana/grafana/releases{/id}","deployments_url":"https://api.github.com/repos/grafana/grafana/deployments","created_at":"2013-12-11T15:59:56Z","updated_at":"2016-11-30T05:26:17Z","pushed_at":"2016-11-29T23:10:34Z","git_url":"git://github.com/grafana/grafana.git","ssh_url":"git@github.com:grafana/grafana.git","clone_url":"https://github.com/grafana/grafana.git","svn_url":"https://github.com/grafana/grafana","homepage":"http://grafana.org","size":151600,"stargazers_count":13072,"watchers_count":13072,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2034,"mirror_url":null,"open_issues_count":835,"forks":2034,"open_issues":835,"watchers":13072,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/grafana/grafana/pulls/6750"},"html":{"href":"https://github.com/grafana/grafana/pull/6750"},"issue":{"href":"https://api.github.com/repos/grafana/grafana/issues/6750"},"comments":{"href":"https://api.github.com/repos/grafana/grafana/issues/6750/comments"},"review_comments":{"href":"https://api.github.com/repos/grafana/grafana/pulls/6750/comments"},"review_comment":{"href":"https://api.github.com/repos/grafana/grafana/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/grafana/grafana/pulls/6750/commits"},"statuses":{"href":"https://api.github.com/repos/grafana/grafana/statuses/6c9f8f2db0bcc5582e1df7a282366ba4a8c2e847"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":42,"deletions":27,"changed_files":4}}
{"actor":{"display_login":"philip-wernersbach"}}