Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

PARQUET File getting created as empty file

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
Highlighted

Re: PARQUET File getting created as empty file

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 ? 

Re: PARQUET File getting created as empty file

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.