{"action":"closed","number":1450,"pull_request":{"url":"https://api.github.com/repos/apache/trafodion/pulls/1450","id":170274704,"html_url":"https://github.com/apache/trafodion/pull/1450","diff_url":"https://github.com/apache/trafodion/pull/1450.diff","patch_url":"https://github.com/apache/trafodion/pull/1450.patch","issue_url":"https://api.github.com/repos/apache/trafodion/issues/1450","number":1450,"state":"closed","locked":false,"title":"[TRAFODION-2964] Fix bug in new MDAM costing code concerning comparisons","user":{"login":"DaveBirdsall","id":5659628,"avatar_url":"https://avatars2.githubusercontent.com/u/5659628?v=4","gravatar_id":"","url":"https://api.github.com/users/DaveBirdsall","html_url":"https://github.com/DaveBirdsall","followers_url":"https://api.github.com/users/DaveBirdsall/followers","following_url":"https://api.github.com/users/DaveBirdsall/following{/other_user}","gists_url":"https://api.github.com/users/DaveBirdsall/gists{/gist_id}","starred_url":"https://api.github.com/users/DaveBirdsall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DaveBirdsall/subscriptions","organizations_url":"https://api.github.com/users/DaveBirdsall/orgs","repos_url":"https://api.github.com/users/DaveBirdsall/repos","events_url":"https://api.github.com/users/DaveBirdsall/events{/privacy}","received_events_url":"https://api.github.com/users/DaveBirdsall/received_events","type":"User","site_admin":false},"body":"This change fixes a bug in the new MDAM costing code. The code checks for a mix of less than and greater than predicates and if so detected uses the square of the HIST_DEFAULT_SEL_FOR_PRED_RANGE when calculating the UEC for the range. But the code was assuming the key column was always on the left. It turns out this assumption is not true. With this change, we no longer make this assumption but instead check to see which side of the comparison operator has the key column.","created_at":"2018-02-20T18:38:10Z","updated_at":"2018-02-21T22:03:32Z","closed_at":"2018-02-21T22:03:31Z","merged_at":"2018-02-21T22:03:31Z","merge_commit_sha":"55211ac16c395a6e65205ec4f50fcce6b6fef28b","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/apache/trafodion/pulls/1450/commits","review_comments_url":"https://api.github.com/repos/apache/trafodion/pulls/1450/comments","review_comment_url":"https://api.github.com/repos/apache/trafodion/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/trafodion/issues/1450/comments","statuses_url":"https://api.github.com/repos/apache/trafodion/statuses/55211ac16c395a6e65205ec4f50fcce6b6fef28b","head":{"label":"DaveBirdsall:Trafodion2964","ref":"Trafodion2964","sha":"55211ac16c395a6e65205ec4f50fcce6b6fef28b","user":{"login":"DaveBirdsall","id":5659628,"avatar_url":"https://avatars2.githubusercontent.com/u/5659628?v=4","gravatar_id":"","url":"https://api.github.com/users/DaveBirdsall","html_url":"https://github.com/DaveBirdsall","followers_url":"https://api.github.com/users/DaveBirdsall/followers","following_url":"https://api.github.com/users/DaveBirdsall/following{/other_user}","gists_url":"https://api.github.com/users/DaveBirdsall/gists{/gist_id}","starred_url":"https://api.github.com/users/DaveBirdsall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DaveBirdsall/subscriptions","organizations_url":"https://api.github.com/users/DaveBirdsall/orgs","repos_url":"https://api.github.com/users/DaveBirdsall/repos","events_url":"https://api.github.com/users/DaveBirdsall/events{/privacy}","received_events_url":"https://api.github.com/users/DaveBirdsall/received_events","type":"User","site_admin":false},"repo":{"id":38782828,"name":"trafodion","full_name":"DaveBirdsall/trafodion","owner":{"login":"DaveBirdsall","id":5659628,"avatar_url":"https://avatars2.githubusercontent.com/u/5659628?v=4","gravatar_id":"","url":"https://api.github.com/users/DaveBirdsall","html_url":"https://github.com/DaveBirdsall","followers_url":"https://api.github.com/users/DaveBirdsall/followers","following_url":"https://api.github.com/users/DaveBirdsall/following{/other_user}","gists_url":"https://api.github.com/users/DaveBirdsall/gists{/gist_id}","starred_url":"https://api.github.com/users/DaveBirdsall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DaveBirdsall/subscriptions","organizations_url":"https://api.github.com/users/DaveBirdsall/orgs","repos_url":"https://api.github.com/users/DaveBirdsall/repos","events_url":"https://api.github.com/users/DaveBirdsall/events{/privacy}","received_events_url":"https://api.github.com/users/DaveBirdsall/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/DaveBirdsall/trafodion","description":"Mirror of Apache Trafodion (Incubating)","fork":true,"url":"https://api.github.com/repos/DaveBirdsall/trafodion","forks_url":"https://api.github.com/repos/DaveBirdsall/trafodion/forks","keys_url":"https://api.github.com/repos/DaveBirdsall/trafodion/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DaveBirdsall/trafodion/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DaveBirdsall/trafodion/teams","hooks_url":"https://api.github.com/repos/DaveBirdsall/trafodion/hooks","issue_events_url":"https://api.github.com/repos/DaveBirdsall/trafodion/issues/events{/number}","events_url":"https://api.github.com/repos/DaveBirdsall/trafodion/events","assignees_url":"https://api.github.com/repos/DaveBirdsall/trafodion/assignees{/user}","branches_url":"https://api.github.com/repos/DaveBirdsall/trafodion/branches{/branch}","tags_url":"https://api.github.com/repos/DaveBirdsall/trafodion/tags","blobs_url":"https://api.github.com/repos/DaveBirdsall/trafodion/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DaveBirdsall/trafodion/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DaveBirdsall/trafodion/git/refs{/sha}","trees_url":"https://api.github.com/repos/DaveBirdsall/trafodion/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DaveBirdsall/trafodion/statuses/{sha}","languages_url":"https://api.github.com/repos/DaveBirdsall/trafodion/languages","stargazers_url":"https://api.github.com/repos/DaveBirdsall/trafodion/stargazers","contributors_url":"https://api.github.com/repos/DaveBirdsall/trafodion/contributors","subscribers_url":"https://api.github.com/repos/DaveBirdsall/trafodion/subscribers","subscription_url":"https://api.github.com/repos/DaveBirdsall/trafodion/subscription","commits_url":"https://api.github.com/repos/DaveBirdsall/trafodion/commits{/sha}","git_commits_url":"https://api.github.com/repos/DaveBirdsall/trafodion/git/commits{/sha}","comments_url":"https://api.github.com/repos/DaveBirdsall/trafodion/comments{/number}","issue_comment_url":"https://api.github.com/repos/DaveBirdsall/trafodion/issues/comments{/number}","contents_url":"https://api.github.com/repos/DaveBirdsall/trafodion/contents/{+path}","compare_url":"https://api.github.com/repos/DaveBirdsall/trafodion/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DaveBirdsall/trafodion/merges","archive_url":"https://api.github.com/repos/DaveBirdsall/trafodion/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DaveBirdsall/trafodion/downloads","issues_url":"https://api.github.com/repos/DaveBirdsall/trafodion/issues{/number}","pulls_url":"https://api.github.com/repos/DaveBirdsall/trafodion/pulls{/number}","milestones_url":"https://api.github.com/repos/DaveBirdsall/trafodion/milestones{/number}","notifications_url":"https://api.github.com/repos/DaveBirdsall/trafodion/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DaveBirdsall/trafodion/labels{/name}","releases_url":"https://api.github.com/repos/DaveBirdsall/trafodion/releases{/id}","deployments_url":"https://api.github.com/repos/DaveBirdsall/trafodion/deployments","created_at":"2015-07-08T22:12:46Z","updated_at":"2018-01-02T23:16:43Z","pushed_at":"2018-02-20T18:35:03Z","git_url":"git://github.com/DaveBirdsall/trafodion.git","ssh_url":"git@github.com:DaveBirdsall/trafodion.git","clone_url":"https://github.com/DaveBirdsall/trafodion.git","svn_url":"https://github.com/DaveBirdsall/trafodion","homepage":null,"size":85466,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"apache:master","ref":"master","sha":"d7644b9dc8b2cdf90b111ab2f0f5746b550a09f8","user":{"login":"apache","id":47359,"avatar_url":"https://avatars0.githubusercontent.com/u/47359?v=4","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":36349344,"name":"trafodion","full_name":"apache/trafodion","owner":{"login":"apache","id":47359,"avatar_url":"https://avatars0.githubusercontent.com/u/47359?v=4","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/trafodion","description":"Apache Trafodion","fork":false,"url":"https://api.github.com/repos/apache/trafodion","forks_url":"https://api.github.com/repos/apache/trafodion/forks","keys_url":"https://api.github.com/repos/apache/trafodion/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/trafodion/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/trafodion/teams","hooks_url":"https://api.github.com/repos/apache/trafodion/hooks","issue_events_url":"https://api.github.com/repos/apache/trafodion/issues/events{/number}","events_url":"https://api.github.com/repos/apache/trafodion/events","assignees_url":"https://api.github.com/repos/apache/trafodion/assignees{/user}","branches_url":"https://api.github.com/repos/apache/trafodion/branches{/branch}","tags_url":"https://api.github.com/repos/apache/trafodion/tags","blobs_url":"https://api.github.com/repos/apache/trafodion/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/trafodion/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/trafodion/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/trafodion/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/trafodion/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/trafodion/languages","stargazers_url":"https://api.github.com/repos/apache/trafodion/stargazers","contributors_url":"https://api.github.com/repos/apache/trafodion/contributors","subscribers_url":"https://api.github.com/repos/apache/trafodion/subscribers","subscription_url":"https://api.github.com/repos/apache/trafodion/subscription","commits_url":"https://api.github.com/repos/apache/trafodion/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/trafodion/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/trafodion/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/trafodion/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/trafodion/contents/{+path}","compare_url":"https://api.github.com/repos/apache/trafodion/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/trafodion/merges","archive_url":"https://api.github.com/repos/apache/trafodion/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/trafodion/downloads","issues_url":"https://api.github.com/repos/apache/trafodion/issues{/number}","pulls_url":"https://api.github.com/repos/apache/trafodion/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/trafodion/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/trafodion/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/trafodion/labels{/name}","releases_url":"https://api.github.com/repos/apache/trafodion/releases{/id}","deployments_url":"https://api.github.com/repos/apache/trafodion/deployments","created_at":"2015-05-27T07:00:05Z","updated_at":"2018-02-19T07:48:09Z","pushed_at":"2018-02-21T22:03:29Z","git_url":"git://github.com/apache/trafodion.git","ssh_url":"git@github.com:apache/trafodion.git","clone_url":"https://github.com/apache/trafodion.git","svn_url":"https://github.com/apache/trafodion","homepage":"","size":85539,"stargazers_count":151,"watchers_count":151,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":110,"mirror_url":null,"archived":false,"open_issues_count":13,"license":null,"forks":110,"open_issues":13,"watchers":151,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/trafodion/pulls/1450"},"html":{"href":"https://github.com/apache/trafodion/pull/1450"},"issue":{"href":"https://api.github.com/repos/apache/trafodion/issues/1450"},"comments":{"href":"https://api.github.com/repos/apache/trafodion/issues/1450/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/trafodion/pulls/1450/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/trafodion/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/trafodion/pulls/1450/commits"},"statuses":{"href":"https://api.github.com/repos/apache/trafodion/statuses/55211ac16c395a6e65205ec4f50fcce6b6fef28b"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"asfgit","id":1341245,"avatar_url":"https://avatars1.githubusercontent.com/u/1341245?v=4","gravatar_id":"","url":"https://api.github.com/users/asfgit","html_url":"https://github.com/asfgit","followers_url":"https://api.github.com/users/asfgit/followers","following_url":"https://api.github.com/users/asfgit/following{/other_user}","gists_url":"https://api.github.com/users/asfgit/gists{/gist_id}","starred_url":"https://api.github.com/users/asfgit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asfgit/subscriptions","organizations_url":"https://api.github.com/users/asfgit/orgs","repos_url":"https://api.github.com/users/asfgit/repos","events_url":"https://api.github.com/users/asfgit/events{/privacy}","received_events_url":"https://api.github.com/users/asfgit/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":45,"deletions":20,"changed_files":1}}
{"actor":{"display_login":"asfgit"}}