Reply
Highlighted
Explorer
Posts: 8
Registered: ‎10-20-2018

PARQUET File getting created as empty file

Hi Team,

 

Am trying to create a PARQUET file through the below

 

INSERT OVERWRITE DIRECTORY '/data/dev1/consumption/crm'

STORED AS PARQUET

SELECT * FROM PROV_CUST;

 

However, I could see that the file is always empty even when there are data in the table.

Could someone please assist

 

Thanks

Champion
Posts: 765
Registered: ‎05-16-2016

Re: PARQUET File getting created as empty file

what do you have in this file - /data/dev1/consumption/crm

sorry i am not quite getting your requirement ? if i understand clearly you want to load the data to the table with parquet format ? 

Explorer
Posts: 8
Registered: ‎10-20-2018

Re: PARQUET File getting created as empty file

Requirement is to create a parquet file and send it to downstream.

Issue is that parquet file is always getting created as empty file even when there is data in "select * from prov_cust" table.
Announcements