Support Questions
Find answers, ask questions, and share your expertise

PARQUET File getting created as empty file

Explorer

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

2 REPLIES 2

Champion

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
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.
; ;