{"action":"opened","number":19,"pull_request":{"url":"https://api.github.com/repos/outcomesinsights/conceptql/pulls/19","id":55853131,"html_url":"https://github.com/outcomesinsights/conceptql/pull/19","diff_url":"https://github.com/outcomesinsights/conceptql/pull/19.diff","patch_url":"https://github.com/outcomesinsights/conceptql/pull/19.patch","issue_url":"https://api.github.com/repos/outcomesinsights/conceptql/issues/19","number":19,"state":"open","locked":false,"title":"Replace temp-table scope with CTE scope, add recall operator test","user":{"login":"jeremyevans","id":3846,"avatar_url":"https://avatars.githubusercontent.com/u/3846?v=3","gravatar_id":"","url":"https://api.github.com/users/jeremyevans","html_url":"https://github.com/jeremyevans","followers_url":"https://api.github.com/users/jeremyevans/followers","following_url":"https://api.github.com/users/jeremyevans/following{/other_user}","gists_url":"https://api.github.com/users/jeremyevans/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremyevans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremyevans/subscriptions","organizations_url":"https://api.github.com/users/jeremyevans/orgs","repos_url":"https://api.github.com/users/jeremyevans/repos","events_url":"https://api.github.com/users/jeremyevans/events{/privacy}","received_events_url":"https://api.github.com/users/jeremyevans/received_events","type":"User","site_admin":false},"body":"This replaces temp-table use with CTE use.  This has the advantage\r\nof ripping out all of the code related to prepping queries.\r\n\r\nThis also adds a test for the recall operator.  With the previous\r\ncode, the recall operator test failed, both for the union part\r\nand the except part.\r\n\r\nThis implementation isn't perfect, mostly to work around the fact\r\nthat operators run queries to get columns.  If we can fix things\r\nso that operators always know the columns or can figure them out\r\nwithout database queries, that will fix the main issue with this\r\nimplementation.\r\n\r\nUnlike most of the other pull requests, I think this one needs to\r\nbe considered carefully before being merged.  It does appear to\r\nfix the issues with the temp table implementation, but I'm not\r\nsure if it performs worse on large datasets.","created_at":"2016-01-13T04:24:28Z","updated_at":"2016-01-13T04:24:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/outcomesinsights/conceptql/pulls/19/commits","review_comments_url":"https://api.github.com/repos/outcomesinsights/conceptql/pulls/19/comments","review_comment_url":"https://api.github.com/repos/outcomesinsights/conceptql/pulls/comments{/number}","comments_url":"https://api.github.com/repos/outcomesinsights/conceptql/issues/19/comments","statuses_url":"https://api.github.com/repos/outcomesinsights/conceptql/statuses/4094b63c28c11b341f0bd91f7560ebf615c1132d","head":{"label":"jeremyevans:cte","ref":"cte","sha":"4094b63c28c11b341f0bd91f7560ebf615c1132d","user":{"login":"jeremyevans","id":3846,"avatar_url":"https://avatars.githubusercontent.com/u/3846?v=3","gravatar_id":"","url":"https://api.github.com/users/jeremyevans","html_url":"https://github.com/jeremyevans","followers_url":"https://api.github.com/users/jeremyevans/followers","following_url":"https://api.github.com/users/jeremyevans/following{/other_user}","gists_url":"https://api.github.com/users/jeremyevans/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremyevans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremyevans/subscriptions","organizations_url":"https://api.github.com/users/jeremyevans/orgs","repos_url":"https://api.github.com/users/jeremyevans/repos","events_url":"https://api.github.com/users/jeremyevans/events{/privacy}","received_events_url":"https://api.github.com/users/jeremyevans/received_events","type":"User","site_admin":false},"repo":{"id":47867538,"name":"conceptql","full_name":"jeremyevans/conceptql","owner":{"login":"jeremyevans","id":3846,"avatar_url":"https://avatars.githubusercontent.com/u/3846?v=3","gravatar_id":"","url":"https://api.github.com/users/jeremyevans","html_url":"https://github.com/jeremyevans","followers_url":"https://api.github.com/users/jeremyevans/followers","following_url":"https://api.github.com/users/jeremyevans/following{/other_user}","gists_url":"https://api.github.com/users/jeremyevans/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremyevans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremyevans/subscriptions","organizations_url":"https://api.github.com/users/jeremyevans/orgs","repos_url":"https://api.github.com/users/jeremyevans/repos","events_url":"https://api.github.com/users/jeremyevans/events{/privacy}","received_events_url":"https://api.github.com/users/jeremyevans/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jeremyevans/conceptql","description":"A high-level language that allows researchers to unambiguously define their research algorithms.","fork":true,"url":"https://api.github.com/repos/jeremyevans/conceptql","forks_url":"https://api.github.com/repos/jeremyevans/conceptql/forks","keys_url":"https://api.github.com/repos/jeremyevans/conceptql/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jeremyevans/conceptql/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jeremyevans/conceptql/teams","hooks_url":"https://api.github.com/repos/jeremyevans/conceptql/hooks","issue_events_url":"https://api.github.com/repos/jeremyevans/conceptql/issues/events{/number}","events_url":"https://api.github.com/repos/jeremyevans/conceptql/events","assignees_url":"https://api.github.com/repos/jeremyevans/conceptql/assignees{/user}","branches_url":"https://api.github.com/repos/jeremyevans/conceptql/branches{/branch}","tags_url":"https://api.github.com/repos/jeremyevans/conceptql/tags","blobs_url":"https://api.github.com/repos/jeremyevans/conceptql/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jeremyevans/conceptql/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jeremyevans/conceptql/git/refs{/sha}","trees_url":"https://api.github.com/repos/jeremyevans/conceptql/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jeremyevans/conceptql/statuses/{sha}","languages_url":"https://api.github.com/repos/jeremyevans/conceptql/languages","stargazers_url":"https://api.github.com/repos/jeremyevans/conceptql/stargazers","contributors_url":"https://api.github.com/repos/jeremyevans/conceptql/contributors","subscribers_url":"https://api.github.com/repos/jeremyevans/conceptql/subscribers","subscription_url":"https://api.github.com/repos/jeremyevans/conceptql/subscription","commits_url":"https://api.github.com/repos/jeremyevans/conceptql/commits{/sha}","git_commits_url":"https://api.github.com/repos/jeremyevans/conceptql/git/commits{/sha}","comments_url":"https://api.github.com/repos/jeremyevans/conceptql/comments{/number}","issue_comment_url":"https://api.github.com/repos/jeremyevans/conceptql/issues/comments{/number}","contents_url":"https://api.github.com/repos/jeremyevans/conceptql/contents/{+path}","compare_url":"https://api.github.com/repos/jeremyevans/conceptql/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jeremyevans/conceptql/merges","archive_url":"https://api.github.com/repos/jeremyevans/conceptql/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jeremyevans/conceptql/downloads","issues_url":"https://api.github.com/repos/jeremyevans/conceptql/issues{/number}","pulls_url":"https://api.github.com/repos/jeremyevans/conceptql/pulls{/number}","milestones_url":"https://api.github.com/repos/jeremyevans/conceptql/milestones{/number}","notifications_url":"https://api.github.com/repos/jeremyevans/conceptql/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jeremyevans/conceptql/labels{/name}","releases_url":"https://api.github.com/repos/jeremyevans/conceptql/releases{/id}","created_at":"2015-12-12T06:31:00Z","updated_at":"2015-12-12T06:31:01Z","pushed_at":"2016-01-13T04:20:40Z","git_url":"git://github.com/jeremyevans/conceptql.git","ssh_url":"git@github.com:jeremyevans/conceptql.git","clone_url":"https://github.com/jeremyevans/conceptql.git","svn_url":"https://github.com/jeremyevans/conceptql","homepage":"","size":3304,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"outcomesinsights:develop","ref":"develop","sha":"a6102805ef1962b1c2bacce97b3bece1395bc05d","user":{"login":"outcomesinsights","id":7732572,"avatar_url":"https://avatars.githubusercontent.com/u/7732572?v=3","gravatar_id":"","url":"https://api.github.com/users/outcomesinsights","html_url":"https://github.com/outcomesinsights","followers_url":"https://api.github.com/users/outcomesinsights/followers","following_url":"https://api.github.com/users/outcomesinsights/following{/other_user}","gists_url":"https://api.github.com/users/outcomesinsights/gists{/gist_id}","starred_url":"https://api.github.com/users/outcomesinsights/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/outcomesinsights/subscriptions","organizations_url":"https://api.github.com/users/outcomesinsights/orgs","repos_url":"https://api.github.com/users/outcomesinsights/repos","events_url":"https://api.github.com/users/outcomesinsights/events{/privacy}","received_events_url":"https://api.github.com/users/outcomesinsights/received_events","type":"Organization","site_admin":false},"repo":{"id":21263542,"name":"conceptql","full_name":"outcomesinsights/conceptql","owner":{"login":"outcomesinsights","id":7732572,"avatar_url":"https://avatars.githubusercontent.com/u/7732572?v=3","gravatar_id":"","url":"https://api.github.com/users/outcomesinsights","html_url":"https://github.com/outcomesinsights","followers_url":"https://api.github.com/users/outcomesinsights/followers","following_url":"https://api.github.com/users/outcomesinsights/following{/other_user}","gists_url":"https://api.github.com/users/outcomesinsights/gists{/gist_id}","starred_url":"https://api.github.com/users/outcomesinsights/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/outcomesinsights/subscriptions","organizations_url":"https://api.github.com/users/outcomesinsights/orgs","repos_url":"https://api.github.com/users/outcomesinsights/repos","events_url":"https://api.github.com/users/outcomesinsights/events{/privacy}","received_events_url":"https://api.github.com/users/outcomesinsights/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/outcomesinsights/conceptql","description":"A high-level language that allows researchers to unambiguously define their research algorithms.","fork":false,"url":"https://api.github.com/repos/outcomesinsights/conceptql","forks_url":"https://api.github.com/repos/outcomesinsights/conceptql/forks","keys_url":"https://api.github.com/repos/outcomesinsights/conceptql/keys{/key_id}","collaborators_url":"https://api.github.com/repos/outcomesinsights/conceptql/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/outcomesinsights/conceptql/teams","hooks_url":"https://api.github.com/repos/outcomesinsights/conceptql/hooks","issue_events_url":"https://api.github.com/repos/outcomesinsights/conceptql/issues/events{/number}","events_url":"https://api.github.com/repos/outcomesinsights/conceptql/events","assignees_url":"https://api.github.com/repos/outcomesinsights/conceptql/assignees{/user}","branches_url":"https://api.github.com/repos/outcomesinsights/conceptql/branches{/branch}","tags_url":"https://api.github.com/repos/outcomesinsights/conceptql/tags","blobs_url":"https://api.github.com/repos/outcomesinsights/conceptql/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/outcomesinsights/conceptql/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/outcomesinsights/conceptql/git/refs{/sha}","trees_url":"https://api.github.com/repos/outcomesinsights/conceptql/git/trees{/sha}","statuses_url":"https://api.github.com/repos/outcomesinsights/conceptql/statuses/{sha}","languages_url":"https://api.github.com/repos/outcomesinsights/conceptql/languages","stargazers_url":"https://api.github.com/repos/outcomesinsights/conceptql/stargazers","contributors_url":"https://api.github.com/repos/outcomesinsights/conceptql/contributors","subscribers_url":"https://api.github.com/repos/outcomesinsights/conceptql/subscribers","subscription_url":"https://api.github.com/repos/outcomesinsights/conceptql/subscription","commits_url":"https://api.github.com/repos/outcomesinsights/conceptql/commits{/sha}","git_commits_url":"https://api.github.com/repos/outcomesinsights/conceptql/git/commits{/sha}","comments_url":"https://api.github.com/repos/outcomesinsights/conceptql/comments{/number}","issue_comment_url":"https://api.github.com/repos/outcomesinsights/conceptql/issues/comments{/number}","contents_url":"https://api.github.com/repos/outcomesinsights/conceptql/contents/{+path}","compare_url":"https://api.github.com/repos/outcomesinsights/conceptql/compare/{base}...{head}","merges_url":"https://api.github.com/repos/outcomesinsights/conceptql/merges","archive_url":"https://api.github.com/repos/outcomesinsights/conceptql/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/outcomesinsights/conceptql/downloads","issues_url":"https://api.github.com/repos/outcomesinsights/conceptql/issues{/number}","pulls_url":"https://api.github.com/repos/outcomesinsights/conceptql/pulls{/number}","milestones_url":"https://api.github.com/repos/outcomesinsights/conceptql/milestones{/number}","notifications_url":"https://api.github.com/repos/outcomesinsights/conceptql/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/outcomesinsights/conceptql/labels{/name}","releases_url":"https://api.github.com/repos/outcomesinsights/conceptql/releases{/id}","created_at":"2014-06-27T04:06:14Z","updated_at":"2015-08-17T17:54:57Z","pushed_at":"2016-01-13T04:21:09Z","git_url":"git://github.com/outcomesinsights/conceptql.git","ssh_url":"git@github.com:outcomesinsights/conceptql.git","clone_url":"https://github.com/outcomesinsights/conceptql.git","svn_url":"https://github.com/outcomesinsights/conceptql","homepage":"","size":3312,"stargazers_count":3,"watchers_count":3,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":5,"forks":1,"open_issues":5,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/outcomesinsights/conceptql/pulls/19"},"html":{"href":"https://github.com/outcomesinsights/conceptql/pull/19"},"issue":{"href":"https://api.github.com/repos/outcomesinsights/conceptql/issues/19"},"comments":{"href":"https://api.github.com/repos/outcomesinsights/conceptql/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/outcomesinsights/conceptql/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/outcomesinsights/conceptql/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/outcomesinsights/conceptql/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/outcomesinsights/conceptql/statuses/4094b63c28c11b341f0bd91f7560ebf615c1132d"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":71,"deletions":63,"changed_files":6}}