Hi All,
I am doing an Insert overwrite operation through a hive external table onto AWS 
S3. Hive creates a output file 000000_0 onto S3. However at times I am noticing 
that it creates file with other names like 0000003_0 etc. I always need to 
overwrite the existing file but with inconsistent file names I am unable to do 
so. How do I force hive to always create a consistent filename like 000000_0? 
Below is an example of how my code looks like, where tab_content is a hive 
external table. 

INSERT OVERWRITE TABLE tab_content
PARTITION(datekey)
select * from source

Regards,
Sujeet Singh Pardeshi
Software Specialist
SAS Research and Development (India) Pvt. Ltd.
Level 2A and Level 3, Cybercity, Magarpatta, Hadapsar  Pune, Maharashtra, 411 
013
off: +91-20-30418810  

 "When the solution is simple, God is answering…" 

Reply via email to