[ https://issues.apache.org/jira/browse/HAWQ-703?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15263319#comment-15263319 ]
ASF GitHub Bot commented on HAWQ-703: ------------------------------------- GitHub user sansanichfb opened a pull request: https://github.com/apache/incubator-hawq/pull/633 HAWQ-703. Serialize HCatalog Complex Types to plain text (as Hive pro… …file). You can merge this pull request into a Git repository by running: $ git pull https://github.com/apache/incubator-hawq HAWQ-703 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/incubator-hawq/pull/633.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #633 ---- commit 8c5e6f8b2408329f250ad6d69f0487dc5999b597 Author: Oleksandr Diachenko <odiache...@pivotal.io> Date: 2016-04-22T23:34:42Z HAWQ-703. Serialize HCatalog Complex Types to plain text (as Hive profile). ---- > Serialize HCatalog Complex Types to plain text (as Hive profile) > ---------------------------------------------------------------- > > Key: HAWQ-703 > URL: https://issues.apache.org/jira/browse/HAWQ-703 > Project: Apache HAWQ > Issue Type: New Feature > Components: Hcatalog, PXF > Reporter: Oleksandr Diachenko > Assignee: Oleksandr Diachenko > > As for now user is able to create external HAWQ table on top of Hive table > with complex types(LIST, MAP, STRUCT, UNION) and those types are being > serialized as TEXT. > But if user uses HCatalog integration feature and queries Hive tables having > compex type columns through HAWQ he/she gets error. > The goal is to serialize complex types to text when using HCatalog > integration. > Changes required: > - PXF: > -- add sourceType field to getMetadata endpoint. > - HAWQ: > -- master: > --- update stored procedure pxf_get_item_fields, add sourceType field to > responce. > -- psql: > --- update describe logic for Hive tables to show sourceType column in \d(\d+) -- This message was sent by Atlassian JIRA (v6.3.4#6332)