{"action":"created","comment":{"url":"https://api.github.com/repos/ContinuumIO/blaze/pulls/comments/32672645","id":32672645,"diff_hunk":"@@ -357,11 +357,12 @@ def test_strlen(ctx, db):\n \n @pytest.mark.parametrize('attr', date_attrs)\n def test_by_with_date(ctx, db, attr):\n+    # TODO: investigate CSV writing precision between pandas 0.16.0 and 0.16.1\n     expr = by(getattr(db.dates.ds, attr),\n               mean=db.dates.amount.mean())\n-    result = odo(compute(expr, ctx), set)\n-    expected = odo(compute(expr, {db: {'dates': date_df}}), set)\n-    assert result == expected\n+    result = odo(compute(expr, ctx), pd.DataFrame).sort('mean')\n+    expected = compute(expr, {db: {'dates': date_df}}).sort('mean')\n+    tm.assert_frame_equal(result, expected, check_dtype=False)","path":"blaze/compute/tests/test_sparksql.py","position":30,"original_position":30,"commit_id":"f9c27ceca2daa6787c134c05b4582b59d00119ca","original_commit_id":"f9c27ceca2daa6787c134c05b4582b59d00119ca","user":{"login":"cpcloud","id":417981,"avatar_url":"https://avatars.githubusercontent.com/u/417981?v=3","gravatar_id":"","url":"https://api.github.com/users/cpcloud","html_url":"https://github.com/cpcloud","followers_url":"https://api.github.com/users/cpcloud/followers","following_url":"https://api.github.com/users/cpcloud/following{/other_user}","gists_url":"https://api.github.com/users/cpcloud/gists{/gist_id}","starred_url":"https://api.github.com/users/cpcloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpcloud/subscriptions","organizations_url":"https://api.github.com/users/cpcloud/orgs","repos_url":"https://api.github.com/users/cpcloud/repos","events_url":"https://api.github.com/users/cpcloud/events{/privacy}","received_events_url":"https://api.github.com/users/cpcloud/received_events","type":"User","site_admin":false},"body":"it's basically this\r\n\r\n```\r\nreturn abs(desired - actual) < (0.5 * 10.0 ** -decimal)\r\n```\r\nwith `decimal = 5`","created_at":"2015-06-17T20:44:53Z","updated_at":"2015-06-17T20:44:53Z","html_url":"https://github.com/ContinuumIO/blaze/pull/1139#discussion_r32672645","pull_request_url":"https://api.github.com/repos/ContinuumIO/blaze/pulls/1139","_links":{"self":{"href":"https://api.github.com/repos/ContinuumIO/blaze/pulls/comments/32672645"},"html":{"href":"https://github.com/ContinuumIO/blaze/pull/1139#discussion_r32672645"},"pull_request":{"href":"https://api.github.com/repos/ContinuumIO/blaze/pulls/1139"}}},"pull_request":{"url":"https://api.github.com/repos/ContinuumIO/blaze/pulls/1139","id":37943028,"html_url":"https://github.com/ContinuumIO/blaze/pull/1139","diff_url":"https://github.com/ContinuumIO/blaze/pull/1139.diff","patch_url":"https://github.com/ContinuumIO/blaze/pull/1139.patch","issue_url":"https://api.github.com/repos/ContinuumIO/blaze/issues/1139","number":1139,"state":"open","locked":false,"title":"Update spark test","user":{"login":"cpcloud","id":417981,"avatar_url":"https://avatars.githubusercontent.com/u/417981?v=3","gravatar_id":"","url":"https://api.github.com/users/cpcloud","html_url":"https://github.com/cpcloud","followers_url":"https://api.github.com/users/cpcloud/followers","following_url":"https://api.github.com/users/cpcloud/following{/other_user}","gists_url":"https://api.github.com/users/cpcloud/gists{/gist_id}","starred_url":"https://api.github.com/users/cpcloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpcloud/subscriptions","organizations_url":"https://api.github.com/users/cpcloud/orgs","repos_url":"https://api.github.com/users/cpcloud/repos","events_url":"https://api.github.com/users/cpcloud/events{/privacy}","received_events_url":"https://api.github.com/users/cpcloud/received_events","type":"User","site_admin":false},"body":null,"created_at":"2015-06-17T20:28:53Z","updated_at":"2015-06-17T20:44:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9f0c915d041a9863507832c1d43fce01dac5fbaa","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ContinuumIO/blaze/pulls/1139/commits","review_comments_url":"https://api.github.com/repos/ContinuumIO/blaze/pulls/1139/comments","review_comment_url":"https://api.github.com/repos/ContinuumIO/blaze/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ContinuumIO/blaze/issues/1139/comments","statuses_url":"https://api.github.com/repos/ContinuumIO/blaze/statuses/f9c27ceca2daa6787c134c05b4582b59d00119ca","head":{"label":"cpcloud:spark-skip-test","ref":"spark-skip-test","sha":"f9c27ceca2daa6787c134c05b4582b59d00119ca","user":{"login":"cpcloud","id":417981,"avatar_url":"https://avatars.githubusercontent.com/u/417981?v=3","gravatar_id":"","url":"https://api.github.com/users/cpcloud","html_url":"https://github.com/cpcloud","followers_url":"https://api.github.com/users/cpcloud/followers","following_url":"https://api.github.com/users/cpcloud/following{/other_user}","gists_url":"https://api.github.com/users/cpcloud/gists{/gist_id}","starred_url":"https://api.github.com/users/cpcloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpcloud/subscriptions","organizations_url":"https://api.github.com/users/cpcloud/orgs","repos_url":"https://api.github.com/users/cpcloud/repos","events_url":"https://api.github.com/users/cpcloud/events{/privacy}","received_events_url":"https://api.github.com/users/cpcloud/received_events","type":"User","site_admin":false},"repo":{"id":21789010,"name":"blaze","full_name":"cpcloud/blaze","owner":{"login":"cpcloud","id":417981,"avatar_url":"https://avatars.githubusercontent.com/u/417981?v=3","gravatar_id":"","url":"https://api.github.com/users/cpcloud","html_url":"https://github.com/cpcloud","followers_url":"https://api.github.com/users/cpcloud/followers","following_url":"https://api.github.com/users/cpcloud/following{/other_user}","gists_url":"https://api.github.com/users/cpcloud/gists{/gist_id}","starred_url":"https://api.github.com/users/cpcloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpcloud/subscriptions","organizations_url":"https://api.github.com/users/cpcloud/orgs","repos_url":"https://api.github.com/users/cpcloud/repos","events_url":"https://api.github.com/users/cpcloud/events{/privacy}","received_events_url":"https://api.github.com/users/cpcloud/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cpcloud/blaze","description":"Blaze is NumPy and Pandas for Big Data","fork":true,"url":"https://api.github.com/repos/cpcloud/blaze","forks_url":"https://api.github.com/repos/cpcloud/blaze/forks","keys_url":"https://api.github.com/repos/cpcloud/blaze/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cpcloud/blaze/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cpcloud/blaze/teams","hooks_url":"https://api.github.com/repos/cpcloud/blaze/hooks","issue_events_url":"https://api.github.com/repos/cpcloud/blaze/issues/events{/number}","events_url":"https://api.github.com/repos/cpcloud/blaze/events","assignees_url":"https://api.github.com/repos/cpcloud/blaze/assignees{/user}","branches_url":"https://api.github.com/repos/cpcloud/blaze/branches{/branch}","tags_url":"https://api.github.com/repos/cpcloud/blaze/tags","blobs_url":"https://api.github.com/repos/cpcloud/blaze/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cpcloud/blaze/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cpcloud/blaze/git/refs{/sha}","trees_url":"https://api.github.com/repos/cpcloud/blaze/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cpcloud/blaze/statuses/{sha}","languages_url":"https://api.github.com/repos/cpcloud/blaze/languages","stargazers_url":"https://api.github.com/repos/cpcloud/blaze/stargazers","contributors_url":"https://api.github.com/repos/cpcloud/blaze/contributors","subscribers_url":"https://api.github.com/repos/cpcloud/blaze/subscribers","subscription_url":"https://api.github.com/repos/cpcloud/blaze/subscription","commits_url":"https://api.github.com/repos/cpcloud/blaze/commits{/sha}","git_commits_url":"https://api.github.com/repos/cpcloud/blaze/git/commits{/sha}","comments_url":"https://api.github.com/repos/cpcloud/blaze/comments{/number}","issue_comment_url":"https://api.github.com/repos/cpcloud/blaze/issues/comments{/number}","contents_url":"https://api.github.com/repos/cpcloud/blaze/contents/{+path}","compare_url":"https://api.github.com/repos/cpcloud/blaze/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cpcloud/blaze/merges","archive_url":"https://api.github.com/repos/cpcloud/blaze/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cpcloud/blaze/downloads","issues_url":"https://api.github.com/repos/cpcloud/blaze/issues{/number}","pulls_url":"https://api.github.com/repos/cpcloud/blaze/pulls{/number}","milestones_url":"https://api.github.com/repos/cpcloud/blaze/milestones{/number}","notifications_url":"https://api.github.com/repos/cpcloud/blaze/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cpcloud/blaze/labels{/name}","releases_url":"https://api.github.com/repos/cpcloud/blaze/releases{/id}","created_at":"2014-07-13T11:40:34Z","updated_at":"2015-05-08T01:08:01Z","pushed_at":"2015-06-17T20:28:42Z","git_url":"git://github.com/cpcloud/blaze.git","ssh_url":"git@github.com:cpcloud/blaze.git","clone_url":"https://github.com/cpcloud/blaze.git","svn_url":"https://github.com/cpcloud/blaze","homepage":"blaze.pydata.org","size":21371,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"ContinuumIO:master","ref":"master","sha":"ce0c6302c30dab12ab916aab94ca80c17aa60773","user":{"login":"ContinuumIO","id":1158637,"avatar_url":"https://avatars.githubusercontent.com/u/1158637?v=3","gravatar_id":"","url":"https://api.github.com/users/ContinuumIO","html_url":"https://github.com/ContinuumIO","followers_url":"https://api.github.com/users/ContinuumIO/followers","following_url":"https://api.github.com/users/ContinuumIO/following{/other_user}","gists_url":"https://api.github.com/users/ContinuumIO/gists{/gist_id}","starred_url":"https://api.github.com/users/ContinuumIO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ContinuumIO/subscriptions","organizations_url":"https://api.github.com/users/ContinuumIO/orgs","repos_url":"https://api.github.com/users/ContinuumIO/repos","events_url":"https://api.github.com/users/ContinuumIO/events{/privacy}","received_events_url":"https://api.github.com/users/ContinuumIO/received_events","type":"Organization","site_admin":false},"repo":{"id":6404963,"name":"blaze","full_name":"ContinuumIO/blaze","owner":{"login":"ContinuumIO","id":1158637,"avatar_url":"https://avatars.githubusercontent.com/u/1158637?v=3","gravatar_id":"","url":"https://api.github.com/users/ContinuumIO","html_url":"https://github.com/ContinuumIO","followers_url":"https://api.github.com/users/ContinuumIO/followers","following_url":"https://api.github.com/users/ContinuumIO/following{/other_user}","gists_url":"https://api.github.com/users/ContinuumIO/gists{/gist_id}","starred_url":"https://api.github.com/users/ContinuumIO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ContinuumIO/subscriptions","organizations_url":"https://api.github.com/users/ContinuumIO/orgs","repos_url":"https://api.github.com/users/ContinuumIO/repos","events_url":"https://api.github.com/users/ContinuumIO/events{/privacy}","received_events_url":"https://api.github.com/users/ContinuumIO/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ContinuumIO/blaze","description":"NumPy and Pandas interface to Big Data","fork":false,"url":"https://api.github.com/repos/ContinuumIO/blaze","forks_url":"https://api.github.com/repos/ContinuumIO/blaze/forks","keys_url":"https://api.github.com/repos/ContinuumIO/blaze/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ContinuumIO/blaze/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ContinuumIO/blaze/teams","hooks_url":"https://api.github.com/repos/ContinuumIO/blaze/hooks","issue_events_url":"https://api.github.com/repos/ContinuumIO/blaze/issues/events{/number}","events_url":"https://api.github.com/repos/ContinuumIO/blaze/events","assignees_url":"https://api.github.com/repos/ContinuumIO/blaze/assignees{/user}","branches_url":"https://api.github.com/repos/ContinuumIO/blaze/branches{/branch}","tags_url":"https://api.github.com/repos/ContinuumIO/blaze/tags","blobs_url":"https://api.github.com/repos/ContinuumIO/blaze/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ContinuumIO/blaze/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ContinuumIO/blaze/git/refs{/sha}","trees_url":"https://api.github.com/repos/ContinuumIO/blaze/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ContinuumIO/blaze/statuses/{sha}","languages_url":"https://api.github.com/repos/ContinuumIO/blaze/languages","stargazers_url":"https://api.github.com/repos/ContinuumIO/blaze/stargazers","contributors_url":"https://api.github.com/repos/ContinuumIO/blaze/contributors","subscribers_url":"https://api.github.com/repos/ContinuumIO/blaze/subscribers","subscription_url":"https://api.github.com/repos/ContinuumIO/blaze/subscription","commits_url":"https://api.github.com/repos/ContinuumIO/blaze/commits{/sha}","git_commits_url":"https://api.github.com/repos/ContinuumIO/blaze/git/commits{/sha}","comments_url":"https://api.github.com/repos/ContinuumIO/blaze/comments{/number}","issue_comment_url":"https://api.github.com/repos/ContinuumIO/blaze/issues/comments{/number}","contents_url":"https://api.github.com/repos/ContinuumIO/blaze/contents/{+path}","compare_url":"https://api.github.com/repos/ContinuumIO/blaze/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ContinuumIO/blaze/merges","archive_url":"https://api.github.com/repos/ContinuumIO/blaze/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ContinuumIO/blaze/downloads","issues_url":"https://api.github.com/repos/ContinuumIO/blaze/issues{/number}","pulls_url":"https://api.github.com/repos/ContinuumIO/blaze/pulls{/number}","milestones_url":"https://api.github.com/repos/ContinuumIO/blaze/milestones{/number}","notifications_url":"https://api.github.com/repos/ContinuumIO/blaze/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ContinuumIO/blaze/labels{/name}","releases_url":"https://api.github.com/repos/ContinuumIO/blaze/releases{/id}","created_at":"2012-10-26T14:25:22Z","updated_at":"2015-06-17T13:53:40Z","pushed_at":"2015-06-17T20:28:53Z","git_url":"git://github.com/ContinuumIO/blaze.git","ssh_url":"git@github.com:ContinuumIO/blaze.git","clone_url":"https://github.com/ContinuumIO/blaze.git","svn_url":"https://github.com/ContinuumIO/blaze","homepage":"blaze.pydata.org","size":31360,"stargazers_count":1134,"watchers_count":1134,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":152,"mirror_url":null,"open_issues_count":115,"forks":152,"open_issues":115,"watchers":1134,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ContinuumIO/blaze/pulls/1139"},"html":{"href":"https://github.com/ContinuumIO/blaze/pull/1139"},"issue":{"href":"https://api.github.com/repos/ContinuumIO/blaze/issues/1139"},"comments":{"href":"https://api.github.com/repos/ContinuumIO/blaze/issues/1139/comments"},"review_comments":{"href":"https://api.github.com/repos/ContinuumIO/blaze/pulls/1139/comments"},"review_comment":{"href":"https://api.github.com/repos/ContinuumIO/blaze/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ContinuumIO/blaze/pulls/1139/commits"},"statuses":{"href":"https://api.github.com/repos/ContinuumIO/blaze/statuses/f9c27ceca2daa6787c134c05b4582b59d00119ca"}}}}