{"action":"created","comment":{"url":"https://api.github.com/repos/apache/incubator-hawq/pulls/comments/77723398","id":77723398,"diff_hunk":"@@ -29,8 +35,8 @@\n  */\n public enum EnumHiveToHawqType {\n \n-    TinyintType(\"tinyint\", EnumHawqType.Int2Type),\n-    SmallintType(\"smallint\", EnumHawqType.Int2Type),\n+    TinyintType(\"tinyint\", EnumHawqType.Int2Type, (byte) 1),\n+    SmallintType(\"smallint\", EnumHawqType.Int2Type, (byte) 2),","path":"pxf/pxf-hive/src/main/java/org/apache/hawq/pxf/plugins/hive/utilities/EnumHiveToHawqType.java","position":20,"original_position":20,"commit_id":"507cd44ba6f6cf4fc859933ca3ea609ff9b2441e","original_commit_id":"6f1668f62e32030ee2fe73d89f93244fc8a7bf6b","user":{"login":"sansanichfb","id":2278956,"avatar_url":"https://avatars.githubusercontent.com/u/2278956?v=3","gravatar_id":"","url":"https://api.github.com/users/sansanichfb","html_url":"https://github.com/sansanichfb","followers_url":"https://api.github.com/users/sansanichfb/followers","following_url":"https://api.github.com/users/sansanichfb/following{/other_user}","gists_url":"https://api.github.com/users/sansanichfb/gists{/gist_id}","starred_url":"https://api.github.com/users/sansanichfb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sansanichfb/subscriptions","organizations_url":"https://api.github.com/users/sansanichfb/orgs","repos_url":"https://api.github.com/users/sansanichfb/repos","events_url":"https://api.github.com/users/sansanichfb/events{/privacy}","received_events_url":"https://api.github.com/users/sansanichfb/received_events","type":"User","site_admin":false},"body":"Sure, we already have explanation in EnumHiveToHawqType#getSize()","created_at":"2016-09-06T21:37:47Z","updated_at":"2016-09-06T21:37:47Z","html_url":"https://github.com/apache/incubator-hawq/pull/873#discussion_r77723398","pull_request_url":"https://api.github.com/repos/apache/incubator-hawq/pulls/873","_links":{"self":{"href":"https://api.github.com/repos/apache/incubator-hawq/pulls/comments/77723398"},"html":{"href":"https://github.com/apache/incubator-hawq/pull/873#discussion_r77723398"},"pull_request":{"href":"https://api.github.com/repos/apache/incubator-hawq/pulls/873"}}},"pull_request":{"url":"https://api.github.com/repos/apache/incubator-hawq/pulls/873","id":83157048,"html_url":"https://github.com/apache/incubator-hawq/pull/873","diff_url":"https://github.com/apache/incubator-hawq/pull/873.diff","patch_url":"https://github.com/apache/incubator-hawq/pull/873.patch","issue_url":"https://api.github.com/repos/apache/incubator-hawq/issues/873","number":873,"state":"open","locked":false,"title":"HAWQ-992. PXF Hive data type check in Fragmenter too restrictive.","user":{"login":"sansanichfb","id":2278956,"avatar_url":"https://avatars.githubusercontent.com/u/2278956?v=3","gravatar_id":"","url":"https://api.github.com/users/sansanichfb","html_url":"https://github.com/sansanichfb","followers_url":"https://api.github.com/users/sansanichfb/followers","following_url":"https://api.github.com/users/sansanichfb/following{/other_user}","gists_url":"https://api.github.com/users/sansanichfb/gists{/gist_id}","starred_url":"https://api.github.com/users/sansanichfb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sansanichfb/subscriptions","organizations_url":"https://api.github.com/users/sansanichfb/orgs","repos_url":"https://api.github.com/users/sansanichfb/repos","events_url":"https://api.github.com/users/sansanichfb/events{/privacy}","received_events_url":"https://api.github.com/users/sansanichfb/received_events","type":"User","site_admin":false},"body":"Changes in this PR:\r\n\r\n* Updated ProtocolData to parse new attributes X-GP-ATTR-TYPEMODX-COUNT, X-GP-ATTR-TYPEMODX-Y;\r\n* Mapped EnumHawqType to DataType;\r\n* Removed HiveInputFormatFragmenter.toHiveType and replaced it with metadata-driven method HiveUtilities.toCompatibleHiveType;","created_at":"2016-08-29T19:54:16Z","updated_at":"2016-09-06T21:37:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2afc7fa48490b036d7d0620aada434bc50bf865f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/apache/incubator-hawq/pulls/873/commits","review_comments_url":"https://api.github.com/repos/apache/incubator-hawq/pulls/873/comments","review_comment_url":"https://api.github.com/repos/apache/incubator-hawq/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/incubator-hawq/issues/873/comments","statuses_url":"https://api.github.com/repos/apache/incubator-hawq/statuses/507cd44ba6f6cf4fc859933ca3ea609ff9b2441e","head":{"label":"apache:HAWQ-992","ref":"HAWQ-992","sha":"507cd44ba6f6cf4fc859933ca3ea609ff9b2441e","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":41952293,"name":"incubator-hawq","full_name":"apache/incubator-hawq","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/incubator-hawq","description":"Mirror of Apache HAWQ (Incubating)","fork":false,"url":"https://api.github.com/repos/apache/incubator-hawq","forks_url":"https://api.github.com/repos/apache/incubator-hawq/forks","keys_url":"https://api.github.com/repos/apache/incubator-hawq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/incubator-hawq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/incubator-hawq/teams","hooks_url":"https://api.github.com/repos/apache/incubator-hawq/hooks","issue_events_url":"https://api.github.com/repos/apache/incubator-hawq/issues/events{/number}","events_url":"https://api.github.com/repos/apache/incubator-hawq/events","assignees_url":"https://api.github.com/repos/apache/incubator-hawq/assignees{/user}","branches_url":"https://api.github.com/repos/apache/incubator-hawq/branches{/branch}","tags_url":"https://api.github.com/repos/apache/incubator-hawq/tags","blobs_url":"https://api.github.com/repos/apache/incubator-hawq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/incubator-hawq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/incubator-hawq/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/incubator-hawq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/incubator-hawq/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/incubator-hawq/languages","stargazers_url":"https://api.github.com/repos/apache/incubator-hawq/stargazers","contributors_url":"https://api.github.com/repos/apache/incubator-hawq/contributors","subscribers_url":"https://api.github.com/repos/apache/incubator-hawq/subscribers","subscription_url":"https://api.github.com/repos/apache/incubator-hawq/subscription","commits_url":"https://api.github.com/repos/apache/incubator-hawq/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/incubator-hawq/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/incubator-hawq/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/incubator-hawq/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/incubator-hawq/contents/{+path}","compare_url":"https://api.github.com/repos/apache/incubator-hawq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/incubator-hawq/merges","archive_url":"https://api.github.com/repos/apache/incubator-hawq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/incubator-hawq/downloads","issues_url":"https://api.github.com/repos/apache/incubator-hawq/issues{/number}","pulls_url":"https://api.github.com/repos/apache/incubator-hawq/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/incubator-hawq/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/incubator-hawq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/incubator-hawq/labels{/name}","releases_url":"https://api.github.com/repos/apache/incubator-hawq/releases{/id}","deployments_url":"https://api.github.com/repos/apache/incubator-hawq/deployments","created_at":"2015-09-05T07:00:05Z","updated_at":"2016-09-04T06:56:20Z","pushed_at":"2016-09-06T21:33:10Z","git_url":"git://github.com/apache/incubator-hawq.git","ssh_url":"git@github.com:apache/incubator-hawq.git","clone_url":"https://github.com/apache/incubator-hawq.git","svn_url":"https://github.com/apache/incubator-hawq","homepage":null,"size":176262,"stargazers_count":194,"watchers_count":194,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":138,"mirror_url":"git://git.apache.org/incubator-hawq.git","open_issues_count":23,"forks":138,"open_issues":23,"watchers":194,"default_branch":"master"}},"base":{"label":"apache:master","ref":"master","sha":"48d3e26a355eb439a67aae290457e3757dacf1bd","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":41952293,"name":"incubator-hawq","full_name":"apache/incubator-hawq","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/incubator-hawq","description":"Mirror of Apache HAWQ (Incubating)","fork":false,"url":"https://api.github.com/repos/apache/incubator-hawq","forks_url":"https://api.github.com/repos/apache/incubator-hawq/forks","keys_url":"https://api.github.com/repos/apache/incubator-hawq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/incubator-hawq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/incubator-hawq/teams","hooks_url":"https://api.github.com/repos/apache/incubator-hawq/hooks","issue_events_url":"https://api.github.com/repos/apache/incubator-hawq/issues/events{/number}","events_url":"https://api.github.com/repos/apache/incubator-hawq/events","assignees_url":"https://api.github.com/repos/apache/incubator-hawq/assignees{/user}","branches_url":"https://api.github.com/repos/apache/incubator-hawq/branches{/branch}","tags_url":"https://api.github.com/repos/apache/incubator-hawq/tags","blobs_url":"https://api.github.com/repos/apache/incubator-hawq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/incubator-hawq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/incubator-hawq/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/incubator-hawq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/incubator-hawq/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/incubator-hawq/languages","stargazers_url":"https://api.github.com/repos/apache/incubator-hawq/stargazers","contributors_url":"https://api.github.com/repos/apache/incubator-hawq/contributors","subscribers_url":"https://api.github.com/repos/apache/incubator-hawq/subscribers","subscription_url":"https://api.github.com/repos/apache/incubator-hawq/subscription","commits_url":"https://api.github.com/repos/apache/incubator-hawq/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/incubator-hawq/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/incubator-hawq/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/incubator-hawq/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/incubator-hawq/contents/{+path}","compare_url":"https://api.github.com/repos/apache/incubator-hawq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/incubator-hawq/merges","archive_url":"https://api.github.com/repos/apache/incubator-hawq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/incubator-hawq/downloads","issues_url":"https://api.github.com/repos/apache/incubator-hawq/issues{/number}","pulls_url":"https://api.github.com/repos/apache/incubator-hawq/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/incubator-hawq/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/incubator-hawq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/incubator-hawq/labels{/name}","releases_url":"https://api.github.com/repos/apache/incubator-hawq/releases{/id}","deployments_url":"https://api.github.com/repos/apache/incubator-hawq/deployments","created_at":"2015-09-05T07:00:05Z","updated_at":"2016-09-04T06:56:20Z","pushed_at":"2016-09-06T21:33:10Z","git_url":"git://github.com/apache/incubator-hawq.git","ssh_url":"git@github.com:apache/incubator-hawq.git","clone_url":"https://github.com/apache/incubator-hawq.git","svn_url":"https://github.com/apache/incubator-hawq","homepage":null,"size":176262,"stargazers_count":194,"watchers_count":194,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":138,"mirror_url":"git://git.apache.org/incubator-hawq.git","open_issues_count":23,"forks":138,"open_issues":23,"watchers":194,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/incubator-hawq/pulls/873"},"html":{"href":"https://github.com/apache/incubator-hawq/pull/873"},"issue":{"href":"https://api.github.com/repos/apache/incubator-hawq/issues/873"},"comments":{"href":"https://api.github.com/repos/apache/incubator-hawq/issues/873/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/incubator-hawq/pulls/873/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/incubator-hawq/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/incubator-hawq/pulls/873/commits"},"statuses":{"href":"https://api.github.com/repos/apache/incubator-hawq/statuses/507cd44ba6f6cf4fc859933ca3ea609ff9b2441e"}}}}
{"actor":{"display_login":"sansanichfb"}}