{"action":"created","issue":{"url":"https://api.github.com/repos/greenplum-db/gpdb/issues/944","repository_url":"https://api.github.com/repos/greenplum-db/gpdb","labels_url":"https://api.github.com/repos/greenplum-db/gpdb/issues/944/labels{/name}","comments_url":"https://api.github.com/repos/greenplum-db/gpdb/issues/944/comments","events_url":"https://api.github.com/repos/greenplum-db/gpdb/issues/944/events","html_url":"https://github.com/greenplum-db/gpdb/pull/944","id":165384133,"number":944,"title":"Introduced CreateDatumCast & CreateCast API","user":{"login":"karthijrk","id":5432707,"avatar_url":"https://avatars.githubusercontent.com/u/5432707?v=3","gravatar_id":"","url":"https://api.github.com/users/karthijrk","html_url":"https://github.com/karthijrk","followers_url":"https://api.github.com/users/karthijrk/followers","following_url":"https://api.github.com/users/karthijrk/following{/other_user}","gists_url":"https://api.github.com/users/karthijrk/gists{/gist_id}","starred_url":"https://api.github.com/users/karthijrk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karthijrk/subscriptions","organizations_url":"https://api.github.com/users/karthijrk/orgs","repos_url":"https://api.github.com/users/karthijrk/repos","events_url":"https://api.github.com/users/karthijrk/events{/privacy}","received_events_url":"https://api.github.com/users/karthijrk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-13T18:03:32Z","updated_at":"2016-07-13T18:03:33Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/greenplum-db/gpdb/pulls/944","html_url":"https://github.com/greenplum-db/gpdb/pull/944","diff_url":"https://github.com/greenplum-db/gpdb/pull/944.diff","patch_url":"https://github.com/greenplum-db/gpdb/pull/944.patch"},"body":"In this PR, I introduced `CreateCppTypeToDatumCast `, `CreateDatumToCppTypeCast` and `CreateCast` to handle casting in IR. Added necessary unit test for this api.\r\n\r\nAlso refactored existing codegeneration code for expression evaluation as well as PG Function generator. Refactor includes usage of above introduced new api and elimination of duplicate codes.\r\n\r\nNote : Template specialization for CreateCast is not complete yet. This PR supports only any integer to integer type or any floating point conversion. Those are the use case we have right now. We can enhance as we encountered different casting use case.\r\n\r\n@foyzur @hardikar Please take a look when you get chance.\r\n"},"comment":{"url":"https://api.github.com/repos/greenplum-db/gpdb/issues/comments/232437798","html_url":"https://github.com/greenplum-db/gpdb/pull/944#issuecomment-232437798","issue_url":"https://api.github.com/repos/greenplum-db/gpdb/issues/944","id":232437798,"user":{"login":"gpdbdreddbot","id":15618396,"avatar_url":"https://avatars.githubusercontent.com/u/15618396?v=3","gravatar_id":"","url":"https://api.github.com/users/gpdbdreddbot","html_url":"https://github.com/gpdbdreddbot","followers_url":"https://api.github.com/users/gpdbdreddbot/followers","following_url":"https://api.github.com/users/gpdbdreddbot/following{/other_user}","gists_url":"https://api.github.com/users/gpdbdreddbot/gists{/gist_id}","starred_url":"https://api.github.com/users/gpdbdreddbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gpdbdreddbot/subscriptions","organizations_url":"https://api.github.com/users/gpdbdreddbot/orgs","repos_url":"https://api.github.com/users/gpdbdreddbot/repos","events_url":"https://api.github.com/users/gpdbdreddbot/events{/privacy}","received_events_url":"https://api.github.com/users/gpdbdreddbot/received_events","type":"User","site_admin":false},"created_at":"2016-07-13T18:03:33Z","updated_at":"2016-07-13T18:03:33Z","body":"Hello karthijrk!\n\nThanks for submitting this pull request! I'm here to inform the recipients of the pull request that you've already signed the CLA.\n"}}
{"actor":{"display_login":"gpdbdreddbot"}}