{"action":"created","comment":{"url":"https://api.github.com/repos/locationtech/geomesa/pulls/comments/54407067","id":54407067,"diff_hunk":"@@ -226,7 +226,7 @@ object Transformers extends EnhancedTokenParsers with LazyLogging {\n       if (idx == -1) {\n         idx = ctx.indexOf(n)\n       }\n-      ctx.get(idx)\n+      if (idx < 0) null else ctx.get(idx)","path":"geomesa-convert/geomesa-convert-common/src/main/scala/org/locationtech/geomesa/convert/Transformers.scala","position":5,"original_position":5,"commit_id":"98f898dfc6b09e430f1427adff83dbe6ae1883e6","original_commit_id":"98f898dfc6b09e430f1427adff83dbe6ae1883e6","user":{"login":"ddseapy","id":5047750,"avatar_url":"https://avatars.githubusercontent.com/u/5047750?v=3","gravatar_id":"","url":"https://api.github.com/users/ddseapy","html_url":"https://github.com/ddseapy","followers_url":"https://api.github.com/users/ddseapy/followers","following_url":"https://api.github.com/users/ddseapy/following{/other_user}","gists_url":"https://api.github.com/users/ddseapy/gists{/gist_id}","starred_url":"https://api.github.com/users/ddseapy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddseapy/subscriptions","organizations_url":"https://api.github.com/users/ddseapy/orgs","repos_url":"https://api.github.com/users/ddseapy/repos","events_url":"https://api.github.com/users/ddseapy/events{/privacy}","received_events_url":"https://api.github.com/users/ddseapy/received_events","type":"User","site_admin":false},"body":"I can see how this would work if default and the \"idx ==\" check where both -2 instead of -1.  Then it would only do ctx.indexOf on the first eval() execution.","created_at":"2016-02-29T13:12:06Z","updated_at":"2016-02-29T13:12:06Z","html_url":"https://github.com/locationtech/geomesa/pull/817#discussion_r54407067","pull_request_url":"https://api.github.com/repos/locationtech/geomesa/pulls/817","_links":{"self":{"href":"https://api.github.com/repos/locationtech/geomesa/pulls/comments/54407067"},"html":{"href":"https://github.com/locationtech/geomesa/pull/817#discussion_r54407067"},"pull_request":{"href":"https://api.github.com/repos/locationtech/geomesa/pulls/817"}}},"pull_request":{"url":"https://api.github.com/repos/locationtech/geomesa/pulls/817","id":60762234,"html_url":"https://github.com/locationtech/geomesa/pull/817","diff_url":"https://github.com/locationtech/geomesa/pull/817.diff","patch_url":"https://github.com/locationtech/geomesa/pull/817.patch","issue_url":"https://api.github.com/repos/locationtech/geomesa/issues/817","number":817,"state":"open","locked":false,"title":"GEOMESA-1111 Return null for non-existant field names","user":{"login":"ddseapy","id":5047750,"avatar_url":"https://avatars.githubusercontent.com/u/5047750?v=3","gravatar_id":"","url":"https://api.github.com/users/ddseapy","html_url":"https://github.com/ddseapy","followers_url":"https://api.github.com/users/ddseapy/followers","following_url":"https://api.github.com/users/ddseapy/following{/other_user}","gists_url":"https://api.github.com/users/ddseapy/gists{/gist_id}","starred_url":"https://api.github.com/users/ddseapy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddseapy/subscriptions","organizations_url":"https://api.github.com/users/ddseapy/orgs","repos_url":"https://api.github.com/users/ddseapy/repos","events_url":"https://api.github.com/users/ddseapy/events{/privacy}","received_events_url":"https://api.github.com/users/ddseapy/received_events","type":"User","site_admin":false},"body":"Signed-off-by: David Seapy <ddseapy@ccri.com>","created_at":"2016-02-25T22:53:58Z","updated_at":"2016-02-29T13:12:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"62f9927a13a858a5c73793a132eed63f28aaec14","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/locationtech/geomesa/pulls/817/commits","review_comments_url":"https://api.github.com/repos/locationtech/geomesa/pulls/817/comments","review_comment_url":"https://api.github.com/repos/locationtech/geomesa/pulls/comments{/number}","comments_url":"https://api.github.com/repos/locationtech/geomesa/issues/817/comments","statuses_url":"https://api.github.com/repos/locationtech/geomesa/statuses/98f898dfc6b09e430f1427adff83dbe6ae1883e6","head":{"label":"ddseapy:master","ref":"master","sha":"98f898dfc6b09e430f1427adff83dbe6ae1883e6","user":{"login":"ddseapy","id":5047750,"avatar_url":"https://avatars.githubusercontent.com/u/5047750?v=3","gravatar_id":"","url":"https://api.github.com/users/ddseapy","html_url":"https://github.com/ddseapy","followers_url":"https://api.github.com/users/ddseapy/followers","following_url":"https://api.github.com/users/ddseapy/following{/other_user}","gists_url":"https://api.github.com/users/ddseapy/gists{/gist_id}","starred_url":"https://api.github.com/users/ddseapy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddseapy/subscriptions","organizations_url":"https://api.github.com/users/ddseapy/orgs","repos_url":"https://api.github.com/users/ddseapy/repos","events_url":"https://api.github.com/users/ddseapy/events{/privacy}","received_events_url":"https://api.github.com/users/ddseapy/received_events","type":"User","site_admin":false},"repo":{"id":47558955,"name":"geomesa","full_name":"ddseapy/geomesa","owner":{"login":"ddseapy","id":5047750,"avatar_url":"https://avatars.githubusercontent.com/u/5047750?v=3","gravatar_id":"","url":"https://api.github.com/users/ddseapy","html_url":"https://github.com/ddseapy","followers_url":"https://api.github.com/users/ddseapy/followers","following_url":"https://api.github.com/users/ddseapy/following{/other_user}","gists_url":"https://api.github.com/users/ddseapy/gists{/gist_id}","starred_url":"https://api.github.com/users/ddseapy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddseapy/subscriptions","organizations_url":"https://api.github.com/users/ddseapy/orgs","repos_url":"https://api.github.com/users/ddseapy/repos","events_url":"https://api.github.com/users/ddseapy/events{/privacy}","received_events_url":"https://api.github.com/users/ddseapy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ddseapy/geomesa","description":"GeoMesa is a suite of tools for working with big geo-spatial data in a distributed fashion.","fork":true,"url":"https://api.github.com/repos/ddseapy/geomesa","forks_url":"https://api.github.com/repos/ddseapy/geomesa/forks","keys_url":"https://api.github.com/repos/ddseapy/geomesa/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ddseapy/geomesa/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ddseapy/geomesa/teams","hooks_url":"https://api.github.com/repos/ddseapy/geomesa/hooks","issue_events_url":"https://api.github.com/repos/ddseapy/geomesa/issues/events{/number}","events_url":"https://api.github.com/repos/ddseapy/geomesa/events","assignees_url":"https://api.github.com/repos/ddseapy/geomesa/assignees{/user}","branches_url":"https://api.github.com/repos/ddseapy/geomesa/branches{/branch}","tags_url":"https://api.github.com/repos/ddseapy/geomesa/tags","blobs_url":"https://api.github.com/repos/ddseapy/geomesa/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ddseapy/geomesa/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ddseapy/geomesa/git/refs{/sha}","trees_url":"https://api.github.com/repos/ddseapy/geomesa/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ddseapy/geomesa/statuses/{sha}","languages_url":"https://api.github.com/repos/ddseapy/geomesa/languages","stargazers_url":"https://api.github.com/repos/ddseapy/geomesa/stargazers","contributors_url":"https://api.github.com/repos/ddseapy/geomesa/contributors","subscribers_url":"https://api.github.com/repos/ddseapy/geomesa/subscribers","subscription_url":"https://api.github.com/repos/ddseapy/geomesa/subscription","commits_url":"https://api.github.com/repos/ddseapy/geomesa/commits{/sha}","git_commits_url":"https://api.github.com/repos/ddseapy/geomesa/git/commits{/sha}","comments_url":"https://api.github.com/repos/ddseapy/geomesa/comments{/number}","issue_comment_url":"https://api.github.com/repos/ddseapy/geomesa/issues/comments{/number}","contents_url":"https://api.github.com/repos/ddseapy/geomesa/contents/{+path}","compare_url":"https://api.github.com/repos/ddseapy/geomesa/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ddseapy/geomesa/merges","archive_url":"https://api.github.com/repos/ddseapy/geomesa/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ddseapy/geomesa/downloads","issues_url":"https://api.github.com/repos/ddseapy/geomesa/issues{/number}","pulls_url":"https://api.github.com/repos/ddseapy/geomesa/pulls{/number}","milestones_url":"https://api.github.com/repos/ddseapy/geomesa/milestones{/number}","notifications_url":"https://api.github.com/repos/ddseapy/geomesa/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ddseapy/geomesa/labels{/name}","releases_url":"https://api.github.com/repos/ddseapy/geomesa/releases{/id}","deployments_url":"https://api.github.com/repos/ddseapy/geomesa/deployments","created_at":"2015-12-07T15:01:16Z","updated_at":"2016-01-27T14:21:32Z","pushed_at":"2016-02-25T22:52:58Z","git_url":"git://github.com/ddseapy/geomesa.git","ssh_url":"git@github.com:ddseapy/geomesa.git","clone_url":"https://github.com/ddseapy/geomesa.git","svn_url":"https://github.com/ddseapy/geomesa","homepage":"https://www.locationtech.org/projects/technology.geomesa","size":33417,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"locationtech:master","ref":"master","sha":"011bb12f92ae6f0226d6f5f2f3769aa96888d90d","user":{"login":"locationtech","id":1991411,"avatar_url":"https://avatars.githubusercontent.com/u/1991411?v=3","gravatar_id":"","url":"https://api.github.com/users/locationtech","html_url":"https://github.com/locationtech","followers_url":"https://api.github.com/users/locationtech/followers","following_url":"https://api.github.com/users/locationtech/following{/other_user}","gists_url":"https://api.github.com/users/locationtech/gists{/gist_id}","starred_url":"https://api.github.com/users/locationtech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/locationtech/subscriptions","organizations_url":"https://api.github.com/users/locationtech/orgs","repos_url":"https://api.github.com/users/locationtech/repos","events_url":"https://api.github.com/users/locationtech/events{/privacy}","received_events_url":"https://api.github.com/users/locationtech/received_events","type":"Organization","site_admin":false},"repo":{"id":13226069,"name":"geomesa","full_name":"locationtech/geomesa","owner":{"login":"locationtech","id":1991411,"avatar_url":"https://avatars.githubusercontent.com/u/1991411?v=3","gravatar_id":"","url":"https://api.github.com/users/locationtech","html_url":"https://github.com/locationtech","followers_url":"https://api.github.com/users/locationtech/followers","following_url":"https://api.github.com/users/locationtech/following{/other_user}","gists_url":"https://api.github.com/users/locationtech/gists{/gist_id}","starred_url":"https://api.github.com/users/locationtech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/locationtech/subscriptions","organizations_url":"https://api.github.com/users/locationtech/orgs","repos_url":"https://api.github.com/users/locationtech/repos","events_url":"https://api.github.com/users/locationtech/events{/privacy}","received_events_url":"https://api.github.com/users/locationtech/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/locationtech/geomesa","description":"GeoMesa is a suite of tools for working with big geo-spatial data in a distributed fashion.","fork":false,"url":"https://api.github.com/repos/locationtech/geomesa","forks_url":"https://api.github.com/repos/locationtech/geomesa/forks","keys_url":"https://api.github.com/repos/locationtech/geomesa/keys{/key_id}","collaborators_url":"https://api.github.com/repos/locationtech/geomesa/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/locationtech/geomesa/teams","hooks_url":"https://api.github.com/repos/locationtech/geomesa/hooks","issue_events_url":"https://api.github.com/repos/locationtech/geomesa/issues/events{/number}","events_url":"https://api.github.com/repos/locationtech/geomesa/events","assignees_url":"https://api.github.com/repos/locationtech/geomesa/assignees{/user}","branches_url":"https://api.github.com/repos/locationtech/geomesa/branches{/branch}","tags_url":"https://api.github.com/repos/locationtech/geomesa/tags","blobs_url":"https://api.github.com/repos/locationtech/geomesa/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/locationtech/geomesa/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/locationtech/geomesa/git/refs{/sha}","trees_url":"https://api.github.com/repos/locationtech/geomesa/git/trees{/sha}","statuses_url":"https://api.github.com/repos/locationtech/geomesa/statuses/{sha}","languages_url":"https://api.github.com/repos/locationtech/geomesa/languages","stargazers_url":"https://api.github.com/repos/locationtech/geomesa/stargazers","contributors_url":"https://api.github.com/repos/locationtech/geomesa/contributors","subscribers_url":"https://api.github.com/repos/locationtech/geomesa/subscribers","subscription_url":"https://api.github.com/repos/locationtech/geomesa/subscription","commits_url":"https://api.github.com/repos/locationtech/geomesa/commits{/sha}","git_commits_url":"https://api.github.com/repos/locationtech/geomesa/git/commits{/sha}","comments_url":"https://api.github.com/repos/locationtech/geomesa/comments{/number}","issue_comment_url":"https://api.github.com/repos/locationtech/geomesa/issues/comments{/number}","contents_url":"https://api.github.com/repos/locationtech/geomesa/contents/{+path}","compare_url":"https://api.github.com/repos/locationtech/geomesa/compare/{base}...{head}","merges_url":"https://api.github.com/repos/locationtech/geomesa/merges","archive_url":"https://api.github.com/repos/locationtech/geomesa/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/locationtech/geomesa/downloads","issues_url":"https://api.github.com/repos/locationtech/geomesa/issues{/number}","pulls_url":"https://api.github.com/repos/locationtech/geomesa/pulls{/number}","milestones_url":"https://api.github.com/repos/locationtech/geomesa/milestones{/number}","notifications_url":"https://api.github.com/repos/locationtech/geomesa/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/locationtech/geomesa/labels{/name}","releases_url":"https://api.github.com/repos/locationtech/geomesa/releases{/id}","deployments_url":"https://api.github.com/repos/locationtech/geomesa/deployments","created_at":"2013-09-30T20:13:46Z","updated_at":"2016-02-28T22:01:45Z","pushed_at":"2016-02-26T18:28:16Z","git_url":"git://github.com/locationtech/geomesa.git","ssh_url":"git@github.com:locationtech/geomesa.git","clone_url":"https://github.com/locationtech/geomesa.git","svn_url":"https://github.com/locationtech/geomesa","homepage":"https://www.locationtech.org/projects/technology.geomesa","size":36162,"stargazers_count":131,"watchers_count":131,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":76,"mirror_url":null,"open_issues_count":5,"forks":76,"open_issues":5,"watchers":131,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/locationtech/geomesa/pulls/817"},"html":{"href":"https://github.com/locationtech/geomesa/pull/817"},"issue":{"href":"https://api.github.com/repos/locationtech/geomesa/issues/817"},"comments":{"href":"https://api.github.com/repos/locationtech/geomesa/issues/817/comments"},"review_comments":{"href":"https://api.github.com/repos/locationtech/geomesa/pulls/817/comments"},"review_comment":{"href":"https://api.github.com/repos/locationtech/geomesa/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/locationtech/geomesa/pulls/817/commits"},"statuses":{"href":"https://api.github.com/repos/locationtech/geomesa/statuses/98f898dfc6b09e430f1427adff83dbe6ae1883e6"}}}}