{"action":"created","comment":{"url":"https://api.github.com/repos/apache/phoenix/pulls/comments/28379356","id":28379356,"diff_hunk":"@@ -985,4 +985,50 @@ public void testFloatingPointMultiplicationUpsert() throws Exception {\n         assertTrue(rs.next());\n         assertEquals(-1.0f, rs.getFloat(1), 0.001);\n     }\n+    \n+    @Test\n+    public void testFloatingPointWithExponentialNotation() throws Exception {\n+    \tFloat[] expected = {1.5E7f, 1.5E-7f, -1.5E-7f, 12E-5f, -.12E+34f};\n+    \tString[] values = {\"1.5e7\", \"1.5e-7\", \"-1.5e-7\", \"12E-5\", \"-.12E+34\"};\n+        ResultSet rs = createTableWithValues(values, \"FLOAT\");\n+        for (int i = 0; i < expected.length; i++) {\n+        \tassertEquals(expected[i], rs.getFloat(i+1), 0.001);\n+        }\n+    }\n+    \n+    @Test\n+    public void testDoubleWithExponentialNotation() throws Exception {\n+    \tDouble[] expected = {1.5E7d, 1.5E-7d, -1.5E-7d, 12E-5d, -.654E-321d, .1234E+56d};\n+    \tString[] values = {\"1.5e7\", \"1.5e-7\", \"-1.5e-7\", \"12E-5\", \"-.654E-321\", \".1234E+56\"};\n+    \tResultSet rs = createTableWithValues(values, \"DOUBLE\");\n+        for (int i = 0; i < expected.length; i++) {\n+        \tassertEquals(expected[i], rs.getDouble(i+1), 0.001);\n+        }\n+    }\n+    ","path":"phoenix-core/src/it/java/org/apache/phoenix/end2end/ArithmeticQueryIT.java","position":24,"original_position":24,"commit_id":"fce7bed23b4621d04746dcbbcd66a1fbc568d989","original_commit_id":"fd7084d34a7903c0337e8e8394de5e8366e4f5b8","user":{"login":"rangent","id":705910,"avatar_url":"https://avatars.githubusercontent.com/u/705910?v=3","gravatar_id":"","url":"https://api.github.com/users/rangent","html_url":"https://github.com/rangent","followers_url":"https://api.github.com/users/rangent/followers","following_url":"https://api.github.com/users/rangent/following{/other_user}","gists_url":"https://api.github.com/users/rangent/gists{/gist_id}","starred_url":"https://api.github.com/users/rangent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rangent/subscriptions","organizations_url":"https://api.github.com/users/rangent/orgs","repos_url":"https://api.github.com/users/rangent/repos","events_url":"https://api.github.com/users/rangent/events{/privacy}","received_events_url":"https://api.github.com/users/rangent/received_events","type":"User","site_admin":false},"body":"Ultimately it becomes \"SELECT num1, num2, num3... num<values.length> FROM test\"","created_at":"2015-04-14T22:54:29Z","updated_at":"2015-04-14T22:54:29Z","html_url":"https://github.com/apache/phoenix/pull/67#discussion_r28379356","pull_request_url":"https://api.github.com/repos/apache/phoenix/pulls/67","_links":{"self":{"href":"https://api.github.com/repos/apache/phoenix/pulls/comments/28379356"},"html":{"href":"https://github.com/apache/phoenix/pull/67#discussion_r28379356"},"pull_request":{"href":"https://api.github.com/repos/apache/phoenix/pulls/67"}}},"pull_request":{"url":"https://api.github.com/repos/apache/phoenix/pulls/67","id":33298433,"html_url":"https://github.com/apache/phoenix/pull/67","diff_url":"https://github.com/apache/phoenix/pull/67.diff","patch_url":"https://github.com/apache/phoenix/pull/67.patch","issue_url":"https://api.github.com/repos/apache/phoenix/issues/67","number":67,"state":"open","locked":false,"title":"[PHOENIX-1814] Exponential notation parsing and tests","user":{"login":"rangent","id":705910,"avatar_url":"https://avatars.githubusercontent.com/u/705910?v=3","gravatar_id":"","url":"https://api.github.com/users/rangent","html_url":"https://github.com/rangent","followers_url":"https://api.github.com/users/rangent/followers","following_url":"https://api.github.com/users/rangent/following{/other_user}","gists_url":"https://api.github.com/users/rangent/gists{/gist_id}","starred_url":"https://api.github.com/users/rangent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rangent/subscriptions","organizations_url":"https://api.github.com/users/rangent/orgs","repos_url":"https://api.github.com/users/rangent/repos","events_url":"https://api.github.com/users/rangent/events{/privacy}","received_events_url":"https://api.github.com/users/rangent/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-04-14T20:50:39Z","updated_at":"2015-04-14T22:54:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e5ce6a087db26403ce4e0a622c1743ea28cf6482","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/apache/phoenix/pulls/67/commits","review_comments_url":"https://api.github.com/repos/apache/phoenix/pulls/67/comments","review_comment_url":"https://api.github.com/repos/apache/phoenix/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/phoenix/issues/67/comments","statuses_url":"https://api.github.com/repos/apache/phoenix/statuses/fce7bed23b4621d04746dcbbcd66a1fbc568d989","head":{"label":"rangent:master","ref":"master","sha":"fce7bed23b4621d04746dcbbcd66a1fbc568d989","user":{"login":"rangent","id":705910,"avatar_url":"https://avatars.githubusercontent.com/u/705910?v=3","gravatar_id":"","url":"https://api.github.com/users/rangent","html_url":"https://github.com/rangent","followers_url":"https://api.github.com/users/rangent/followers","following_url":"https://api.github.com/users/rangent/following{/other_user}","gists_url":"https://api.github.com/users/rangent/gists{/gist_id}","starred_url":"https://api.github.com/users/rangent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rangent/subscriptions","organizations_url":"https://api.github.com/users/rangent/orgs","repos_url":"https://api.github.com/users/rangent/repos","events_url":"https://api.github.com/users/rangent/events{/privacy}","received_events_url":"https://api.github.com/users/rangent/received_events","type":"User","site_admin":false},"repo":{"id":33949558,"name":"phoenix","full_name":"rangent/phoenix","owner":{"login":"rangent","id":705910,"avatar_url":"https://avatars.githubusercontent.com/u/705910?v=3","gravatar_id":"","url":"https://api.github.com/users/rangent","html_url":"https://github.com/rangent","followers_url":"https://api.github.com/users/rangent/followers","following_url":"https://api.github.com/users/rangent/following{/other_user}","gists_url":"https://api.github.com/users/rangent/gists{/gist_id}","starred_url":"https://api.github.com/users/rangent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rangent/subscriptions","organizations_url":"https://api.github.com/users/rangent/orgs","repos_url":"https://api.github.com/users/rangent/repos","events_url":"https://api.github.com/users/rangent/events{/privacy}","received_events_url":"https://api.github.com/users/rangent/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rangent/phoenix","description":"Mirror of Apache Phoenix","fork":true,"url":"https://api.github.com/repos/rangent/phoenix","forks_url":"https://api.github.com/repos/rangent/phoenix/forks","keys_url":"https://api.github.com/repos/rangent/phoenix/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rangent/phoenix/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rangent/phoenix/teams","hooks_url":"https://api.github.com/repos/rangent/phoenix/hooks","issue_events_url":"https://api.github.com/repos/rangent/phoenix/issues/events{/number}","events_url":"https://api.github.com/repos/rangent/phoenix/events","assignees_url":"https://api.github.com/repos/rangent/phoenix/assignees{/user}","branches_url":"https://api.github.com/repos/rangent/phoenix/branches{/branch}","tags_url":"https://api.github.com/repos/rangent/phoenix/tags","blobs_url":"https://api.github.com/repos/rangent/phoenix/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rangent/phoenix/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rangent/phoenix/git/refs{/sha}","trees_url":"https://api.github.com/repos/rangent/phoenix/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rangent/phoenix/statuses/{sha}","languages_url":"https://api.github.com/repos/rangent/phoenix/languages","stargazers_url":"https://api.github.com/repos/rangent/phoenix/stargazers","contributors_url":"https://api.github.com/repos/rangent/phoenix/contributors","subscribers_url":"https://api.github.com/repos/rangent/phoenix/subscribers","subscription_url":"https://api.github.com/repos/rangent/phoenix/subscription","commits_url":"https://api.github.com/repos/rangent/phoenix/commits{/sha}","git_commits_url":"https://api.github.com/repos/rangent/phoenix/git/commits{/sha}","comments_url":"https://api.github.com/repos/rangent/phoenix/comments{/number}","issue_comment_url":"https://api.github.com/repos/rangent/phoenix/issues/comments{/number}","contents_url":"https://api.github.com/repos/rangent/phoenix/contents/{+path}","compare_url":"https://api.github.com/repos/rangent/phoenix/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rangent/phoenix/merges","archive_url":"https://api.github.com/repos/rangent/phoenix/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rangent/phoenix/downloads","issues_url":"https://api.github.com/repos/rangent/phoenix/issues{/number}","pulls_url":"https://api.github.com/repos/rangent/phoenix/pulls{/number}","milestones_url":"https://api.github.com/repos/rangent/phoenix/milestones{/number}","notifications_url":"https://api.github.com/repos/rangent/phoenix/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rangent/phoenix/labels{/name}","releases_url":"https://api.github.com/repos/rangent/phoenix/releases{/id}","created_at":"2015-04-14T18:31:19Z","updated_at":"2015-04-14T22:11:09Z","pushed_at":"2015-04-14T22:11:08Z","git_url":"git://github.com/rangent/phoenix.git","ssh_url":"git@github.com:rangent/phoenix.git","clone_url":"https://github.com/rangent/phoenix.git","svn_url":"https://github.com/rangent/phoenix","homepage":null,"size":26362,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"apache:master","ref":"master","sha":"b0c28a2de9b8b2807abaeddf1ec5430cc9f13c61","user":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"repo":{"id":20473418,"name":"phoenix","full_name":"apache/phoenix","owner":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apache/phoenix","description":"Mirror of Apache Phoenix","fork":false,"url":"https://api.github.com/repos/apache/phoenix","forks_url":"https://api.github.com/repos/apache/phoenix/forks","keys_url":"https://api.github.com/repos/apache/phoenix/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/phoenix/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/phoenix/teams","hooks_url":"https://api.github.com/repos/apache/phoenix/hooks","issue_events_url":"https://api.github.com/repos/apache/phoenix/issues/events{/number}","events_url":"https://api.github.com/repos/apache/phoenix/events","assignees_url":"https://api.github.com/repos/apache/phoenix/assignees{/user}","branches_url":"https://api.github.com/repos/apache/phoenix/branches{/branch}","tags_url":"https://api.github.com/repos/apache/phoenix/tags","blobs_url":"https://api.github.com/repos/apache/phoenix/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/phoenix/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/phoenix/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/phoenix/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/phoenix/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/phoenix/languages","stargazers_url":"https://api.github.com/repos/apache/phoenix/stargazers","contributors_url":"https://api.github.com/repos/apache/phoenix/contributors","subscribers_url":"https://api.github.com/repos/apache/phoenix/subscribers","subscription_url":"https://api.github.com/repos/apache/phoenix/subscription","commits_url":"https://api.github.com/repos/apache/phoenix/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/phoenix/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/phoenix/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/phoenix/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/phoenix/contents/{+path}","compare_url":"https://api.github.com/repos/apache/phoenix/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/phoenix/merges","archive_url":"https://api.github.com/repos/apache/phoenix/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/phoenix/downloads","issues_url":"https://api.github.com/repos/apache/phoenix/issues{/number}","pulls_url":"https://api.github.com/repos/apache/phoenix/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/phoenix/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/phoenix/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/phoenix/labels{/name}","releases_url":"https://api.github.com/repos/apache/phoenix/releases{/id}","created_at":"2014-06-04T07:00:08Z","updated_at":"2015-04-14T19:26:30Z","pushed_at":"2015-04-14T22:12:17Z","git_url":"git://github.com/apache/phoenix.git","ssh_url":"git@github.com:apache/phoenix.git","clone_url":"https://github.com/apache/phoenix.git","svn_url":"https://github.com/apache/phoenix","homepage":null,"size":26362,"stargazers_count":55,"watchers_count":55,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":110,"mirror_url":"git://git.apache.org/phoenix.git","open_issues_count":39,"forks":110,"open_issues":39,"watchers":55,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/phoenix/pulls/67"},"html":{"href":"https://github.com/apache/phoenix/pull/67"},"issue":{"href":"https://api.github.com/repos/apache/phoenix/issues/67"},"comments":{"href":"https://api.github.com/repos/apache/phoenix/issues/67/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/phoenix/pulls/67/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/phoenix/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/phoenix/pulls/67/commits"},"statuses":{"href":"https://api.github.com/repos/apache/phoenix/statuses/fce7bed23b4621d04746dcbbcd66a1fbc568d989"}}}}