hawq-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Campbell <jacampb...@pivotal.io>
Subject Re: Query on Data Extraction from HAWQ
Date Thu, 20 Apr 2017 13:47:11 GMT
Do you want the flat file placed on HDFS, or do you want it on another file

In both cases you can use writeable external tables.  The documentation
provides examples of doing this multiple ways. Once you create an external
table, you do an insert-select to place the data into the external table.
If you want the file on HDFS, you will use one of the PXF options.  On
another file system, you could use gpfdist.

Of course, you can always use the command line tool psql and select the
data into a file.

James Campbell
Data Engineer
Pivotal Software
P:  571-247-6511
E:  jacampbell@pivotal.io

On April 20, 2017 at 9:16:21 AM, Joshi Bhanu (bhanu.joshi@lntinfotech.com)


I am new to HAWQ. I have a question.

Can you please tell me different ways I can extract the data from HAWQ to
flat files?

I understand HAWQ also starts the data files in HDFS.


Bhanu Joshi

View raw message