Kyle R Dunn created HAWQ-205:
--------------------------------

             Summary: 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


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)

Reply via email to