{"action":"created","comment":{"url":"https://api.github.com/repos/facebook/presto/pulls/comments/36140128","id":36140128,"diff_hunk":"@@ -26,12 +29,18 @@\n     public QueryPair map(int index, ResultSet rs, StatementContext ctx)\n             throws SQLException\n     {\n+        Map<String, String> sessionProperties = Collections.EMPTY_MAP;\n+        String sessionPropertiesStr = rs.getString(\"session_properties_json\");","path":"presto-verifier/src/main/java/com/facebook/presto/verifier/QueryPairMapper.java","position":20,"original_position":20,"commit_id":"d118e48ae57ab902bec31474e1e6102b2a0f30d8","original_commit_id":"d118e48ae57ab902bec31474e1e6102b2a0f30d8","user":{"login":"electrum","id":9230,"avatar_url":"https://avatars.githubusercontent.com/u/9230?v=3","gravatar_id":"","url":"https://api.github.com/users/electrum","html_url":"https://github.com/electrum","followers_url":"https://api.github.com/users/electrum/followers","following_url":"https://api.github.com/users/electrum/following{/other_user}","gists_url":"https://api.github.com/users/electrum/gists{/gist_id}","starred_url":"https://api.github.com/users/electrum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/electrum/subscriptions","organizations_url":"https://api.github.com/users/electrum/orgs","repos_url":"https://api.github.com/users/electrum/repos","events_url":"https://api.github.com/users/electrum/events{/privacy}","received_events_url":"https://api.github.com/users/electrum/received_events","type":"User","site_admin":false},"body":"Don't abbreviate variable names","created_at":"2015-08-03T22:41:51Z","updated_at":"2015-08-03T22:41:51Z","html_url":"https://github.com/facebook/presto/pull/3349#discussion_r36140128","pull_request_url":"https://api.github.com/repos/facebook/presto/pulls/3349","_links":{"self":{"href":"https://api.github.com/repos/facebook/presto/pulls/comments/36140128"},"html":{"href":"https://github.com/facebook/presto/pull/3349#discussion_r36140128"},"pull_request":{"href":"https://api.github.com/repos/facebook/presto/pulls/3349"}}},"pull_request":{"url":"https://api.github.com/repos/facebook/presto/pulls/3349","id":40827519,"html_url":"https://github.com/facebook/presto/pull/3349","diff_url":"https://github.com/facebook/presto/pull/3349.diff","patch_url":"https://github.com/facebook/presto/pull/3349.patch","issue_url":"https://api.github.com/repos/facebook/presto/issues/3349","number":3349,"state":"open","locked":false,"title":"Add session properties to queries","user":{"login":"joy-yao","id":10444908,"avatar_url":"https://avatars.githubusercontent.com/u/10444908?v=3","gravatar_id":"","url":"https://api.github.com/users/joy-yao","html_url":"https://github.com/joy-yao","followers_url":"https://api.github.com/users/joy-yao/followers","following_url":"https://api.github.com/users/joy-yao/following{/other_user}","gists_url":"https://api.github.com/users/joy-yao/gists{/gist_id}","starred_url":"https://api.github.com/users/joy-yao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joy-yao/subscriptions","organizations_url":"https://api.github.com/users/joy-yao/orgs","repos_url":"https://api.github.com/users/joy-yao/repos","events_url":"https://api.github.com/users/joy-yao/events{/privacy}","received_events_url":"https://api.github.com/users/joy-yao/received_events","type":"User","site_admin":false},"body":null,"created_at":"2015-07-25T00:41:53Z","updated_at":"2015-08-03T22:41:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1177a85f376c4aae2d4aa5809c35e203dd7e6b16","assignee":{"login":"electrum","id":9230,"avatar_url":"https://avatars.githubusercontent.com/u/9230?v=3","gravatar_id":"","url":"https://api.github.com/users/electrum","html_url":"https://github.com/electrum","followers_url":"https://api.github.com/users/electrum/followers","following_url":"https://api.github.com/users/electrum/following{/other_user}","gists_url":"https://api.github.com/users/electrum/gists{/gist_id}","starred_url":"https://api.github.com/users/electrum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/electrum/subscriptions","organizations_url":"https://api.github.com/users/electrum/orgs","repos_url":"https://api.github.com/users/electrum/repos","events_url":"https://api.github.com/users/electrum/events{/privacy}","received_events_url":"https://api.github.com/users/electrum/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/facebook/presto/pulls/3349/commits","review_comments_url":"https://api.github.com/repos/facebook/presto/pulls/3349/comments","review_comment_url":"https://api.github.com/repos/facebook/presto/pulls/comments{/number}","comments_url":"https://api.github.com/repos/facebook/presto/issues/3349/comments","statuses_url":"https://api.github.com/repos/facebook/presto/statuses/d118e48ae57ab902bec31474e1e6102b2a0f30d8","head":{"label":"joy-yao:sessionProperties","ref":"sessionProperties","sha":"d118e48ae57ab902bec31474e1e6102b2a0f30d8","user":{"login":"joy-yao","id":10444908,"avatar_url":"https://avatars.githubusercontent.com/u/10444908?v=3","gravatar_id":"","url":"https://api.github.com/users/joy-yao","html_url":"https://github.com/joy-yao","followers_url":"https://api.github.com/users/joy-yao/followers","following_url":"https://api.github.com/users/joy-yao/following{/other_user}","gists_url":"https://api.github.com/users/joy-yao/gists{/gist_id}","starred_url":"https://api.github.com/users/joy-yao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joy-yao/subscriptions","organizations_url":"https://api.github.com/users/joy-yao/orgs","repos_url":"https://api.github.com/users/joy-yao/repos","events_url":"https://api.github.com/users/joy-yao/events{/privacy}","received_events_url":"https://api.github.com/users/joy-yao/received_events","type":"User","site_admin":false},"repo":{"id":29157409,"name":"presto","full_name":"joy-yao/presto","owner":{"login":"joy-yao","id":10444908,"avatar_url":"https://avatars.githubusercontent.com/u/10444908?v=3","gravatar_id":"","url":"https://api.github.com/users/joy-yao","html_url":"https://github.com/joy-yao","followers_url":"https://api.github.com/users/joy-yao/followers","following_url":"https://api.github.com/users/joy-yao/following{/other_user}","gists_url":"https://api.github.com/users/joy-yao/gists{/gist_id}","starred_url":"https://api.github.com/users/joy-yao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joy-yao/subscriptions","organizations_url":"https://api.github.com/users/joy-yao/orgs","repos_url":"https://api.github.com/users/joy-yao/repos","events_url":"https://api.github.com/users/joy-yao/events{/privacy}","received_events_url":"https://api.github.com/users/joy-yao/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/joy-yao/presto","description":"Distributed SQL query engine for running interactive analytic queries against big data sources.","fork":true,"url":"https://api.github.com/repos/joy-yao/presto","forks_url":"https://api.github.com/repos/joy-yao/presto/forks","keys_url":"https://api.github.com/repos/joy-yao/presto/keys{/key_id}","collaborators_url":"https://api.github.com/repos/joy-yao/presto/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/joy-yao/presto/teams","hooks_url":"https://api.github.com/repos/joy-yao/presto/hooks","issue_events_url":"https://api.github.com/repos/joy-yao/presto/issues/events{/number}","events_url":"https://api.github.com/repos/joy-yao/presto/events","assignees_url":"https://api.github.com/repos/joy-yao/presto/assignees{/user}","branches_url":"https://api.github.com/repos/joy-yao/presto/branches{/branch}","tags_url":"https://api.github.com/repos/joy-yao/presto/tags","blobs_url":"https://api.github.com/repos/joy-yao/presto/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/joy-yao/presto/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/joy-yao/presto/git/refs{/sha}","trees_url":"https://api.github.com/repos/joy-yao/presto/git/trees{/sha}","statuses_url":"https://api.github.com/repos/joy-yao/presto/statuses/{sha}","languages_url":"https://api.github.com/repos/joy-yao/presto/languages","stargazers_url":"https://api.github.com/repos/joy-yao/presto/stargazers","contributors_url":"https://api.github.com/repos/joy-yao/presto/contributors","subscribers_url":"https://api.github.com/repos/joy-yao/presto/subscribers","subscription_url":"https://api.github.com/repos/joy-yao/presto/subscription","commits_url":"https://api.github.com/repos/joy-yao/presto/commits{/sha}","git_commits_url":"https://api.github.com/repos/joy-yao/presto/git/commits{/sha}","comments_url":"https://api.github.com/repos/joy-yao/presto/comments{/number}","issue_comment_url":"https://api.github.com/repos/joy-yao/presto/issues/comments{/number}","contents_url":"https://api.github.com/repos/joy-yao/presto/contents/{+path}","compare_url":"https://api.github.com/repos/joy-yao/presto/compare/{base}...{head}","merges_url":"https://api.github.com/repos/joy-yao/presto/merges","archive_url":"https://api.github.com/repos/joy-yao/presto/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/joy-yao/presto/downloads","issues_url":"https://api.github.com/repos/joy-yao/presto/issues{/number}","pulls_url":"https://api.github.com/repos/joy-yao/presto/pulls{/number}","milestones_url":"https://api.github.com/repos/joy-yao/presto/milestones{/number}","notifications_url":"https://api.github.com/repos/joy-yao/presto/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/joy-yao/presto/labels{/name}","releases_url":"https://api.github.com/repos/joy-yao/presto/releases{/id}","created_at":"2015-01-12T21:17:47Z","updated_at":"2015-04-28T23:18:27Z","pushed_at":"2015-08-03T04:11:04Z","git_url":"git://github.com/joy-yao/presto.git","ssh_url":"git@github.com:joy-yao/presto.git","clone_url":"https://github.com/joy-yao/presto.git","svn_url":"https://github.com/joy-yao/presto","homepage":"http://prestodb.io/","size":43433,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"facebook:master","ref":"master","sha":"f7c12c1da3a5424c7bf640ac5b7292967600090f","user":{"login":"facebook","id":69631,"avatar_url":"https://avatars.githubusercontent.com/u/69631?v=3","gravatar_id":"","url":"https://api.github.com/users/facebook","html_url":"https://github.com/facebook","followers_url":"https://api.github.com/users/facebook/followers","following_url":"https://api.github.com/users/facebook/following{/other_user}","gists_url":"https://api.github.com/users/facebook/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook/subscriptions","organizations_url":"https://api.github.com/users/facebook/orgs","repos_url":"https://api.github.com/users/facebook/repos","events_url":"https://api.github.com/users/facebook/events{/privacy}","received_events_url":"https://api.github.com/users/facebook/received_events","type":"Organization","site_admin":false},"repo":{"id":5349565,"name":"presto","full_name":"facebook/presto","owner":{"login":"facebook","id":69631,"avatar_url":"https://avatars.githubusercontent.com/u/69631?v=3","gravatar_id":"","url":"https://api.github.com/users/facebook","html_url":"https://github.com/facebook","followers_url":"https://api.github.com/users/facebook/followers","following_url":"https://api.github.com/users/facebook/following{/other_user}","gists_url":"https://api.github.com/users/facebook/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook/subscriptions","organizations_url":"https://api.github.com/users/facebook/orgs","repos_url":"https://api.github.com/users/facebook/repos","events_url":"https://api.github.com/users/facebook/events{/privacy}","received_events_url":"https://api.github.com/users/facebook/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/facebook/presto","description":"Distributed SQL query engine for running interactive analytic queries against big data sources.","fork":false,"url":"https://api.github.com/repos/facebook/presto","forks_url":"https://api.github.com/repos/facebook/presto/forks","keys_url":"https://api.github.com/repos/facebook/presto/keys{/key_id}","collaborators_url":"https://api.github.com/repos/facebook/presto/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/facebook/presto/teams","hooks_url":"https://api.github.com/repos/facebook/presto/hooks","issue_events_url":"https://api.github.com/repos/facebook/presto/issues/events{/number}","events_url":"https://api.github.com/repos/facebook/presto/events","assignees_url":"https://api.github.com/repos/facebook/presto/assignees{/user}","branches_url":"https://api.github.com/repos/facebook/presto/branches{/branch}","tags_url":"https://api.github.com/repos/facebook/presto/tags","blobs_url":"https://api.github.com/repos/facebook/presto/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/facebook/presto/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/facebook/presto/git/refs{/sha}","trees_url":"https://api.github.com/repos/facebook/presto/git/trees{/sha}","statuses_url":"https://api.github.com/repos/facebook/presto/statuses/{sha}","languages_url":"https://api.github.com/repos/facebook/presto/languages","stargazers_url":"https://api.github.com/repos/facebook/presto/stargazers","contributors_url":"https://api.github.com/repos/facebook/presto/contributors","subscribers_url":"https://api.github.com/repos/facebook/presto/subscribers","subscription_url":"https://api.github.com/repos/facebook/presto/subscription","commits_url":"https://api.github.com/repos/facebook/presto/commits{/sha}","git_commits_url":"https://api.github.com/repos/facebook/presto/git/commits{/sha}","comments_url":"https://api.github.com/repos/facebook/presto/comments{/number}","issue_comment_url":"https://api.github.com/repos/facebook/presto/issues/comments{/number}","contents_url":"https://api.github.com/repos/facebook/presto/contents/{+path}","compare_url":"https://api.github.com/repos/facebook/presto/compare/{base}...{head}","merges_url":"https://api.github.com/repos/facebook/presto/merges","archive_url":"https://api.github.com/repos/facebook/presto/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/facebook/presto/downloads","issues_url":"https://api.github.com/repos/facebook/presto/issues{/number}","pulls_url":"https://api.github.com/repos/facebook/presto/pulls{/number}","milestones_url":"https://api.github.com/repos/facebook/presto/milestones{/number}","notifications_url":"https://api.github.com/repos/facebook/presto/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/facebook/presto/labels{/name}","releases_url":"https://api.github.com/repos/facebook/presto/releases{/id}","created_at":"2012-08-09T01:03:37Z","updated_at":"2015-08-03T07:15:01Z","pushed_at":"2015-08-03T21:58:27Z","git_url":"git://github.com/facebook/presto.git","ssh_url":"git@github.com:facebook/presto.git","clone_url":"https://github.com/facebook/presto.git","svn_url":"https://github.com/facebook/presto","homepage":"https://prestodb.io","size":97421,"stargazers_count":3682,"watchers_count":3682,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":927,"mirror_url":null,"open_issues_count":306,"forks":927,"open_issues":306,"watchers":3682,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/facebook/presto/pulls/3349"},"html":{"href":"https://github.com/facebook/presto/pull/3349"},"issue":{"href":"https://api.github.com/repos/facebook/presto/issues/3349"},"comments":{"href":"https://api.github.com/repos/facebook/presto/issues/3349/comments"},"review_comments":{"href":"https://api.github.com/repos/facebook/presto/pulls/3349/comments"},"review_comment":{"href":"https://api.github.com/repos/facebook/presto/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/facebook/presto/pulls/3349/commits"},"statuses":{"href":"https://api.github.com/repos/facebook/presto/statuses/d118e48ae57ab902bec31474e1e6102b2a0f30d8"}}}}