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.

Can a hive query read and write to the same table?

Can a hive query read and write to the same table?

New Contributor

Can I write an insert overwrite query which reads and writes into the same table? Both for a partitioned and a non partitioned table?

2 REPLIES 2

Re: Can a hive query read and write to the same table?

New Contributor

I am also facing the same issue. For me it worked for Partitioned table but it is not working in non partitioned table.

Highlighted

Re: Can a hive query read and write to the same table?

New Contributor

I am facing this issue in Spark. In hive both will work fine. I have tried that. So answer is yes...

Don't have an account?
Coming from Hortonworks? Activate your account here