You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hawq.apache.org by "Lei Chang (JIRA)" <ji...@apache.org> on 2016/01/24 02:28:39 UTC

[jira] [Closed] (HAWQ-205) PXF Throws NullPointerException when DELIMITER missing in Hive table definition

     [ https://issues.apache.org/jira/browse/HAWQ-205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lei Chang closed HAWQ-205.
--------------------------

> PXF Throws NullPointerException when DELIMITER missing in Hive table definition
> -------------------------------------------------------------------------------
>
>                 Key: HAWQ-205
>                 URL: https://issues.apache.org/jira/browse/HAWQ-205
>             Project: Apache HAWQ
>          Issue Type: Bug
>          Components: PXF
>            Reporter: Kyle R Dunn
>            Assignee: Goden Yao
>             Fix For: 2.0.0-beta-incubating
>
>
> HiveText and HiveRC profiles both require defining a DELIMITER as part of the LOCATION. The Delimiter should be the same defined in the table itself.
> E.g. for delimiter ','
> CREATE EXTERNAL TABLE hivetext (field1 ... ) LOCATION('pxf://<pxf host and port>/<hive table name>?profile=HiveText&DELIMITER=,') format 'text' (delimiter=',');
> In the absence of DELIMITER, a NullPoitnerException is thrown.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)