That assertion seems to be true. Spark does not seem to hold locks when
doing DML on a Hive table.

I cannot recall whether I checked it in previous versions of Spark.
However, in Spark  2.3 I can see that is true using Hive 3.0

This may be a potential oversight as Spark SQL and Hive are drifting away
from each other.

HTH

Dr Mich Talebzadeh



LinkedIn * 
https://www.linkedin.com/profile/view?id=AAEAAAAWh2gBxianrbJd6zP6AcPCCdOABUrV8Pw
<https://www.linkedin.com/profile/view?id=AAEAAAAWh2gBxianrbJd6zP6AcPCCdOABUrV8Pw>*



http://talebzadehmich.wordpress.com


*Disclaimer:* Use it at your own risk. Any and all responsibility for any
loss, damage or destruction of data or any other property which may arise
from relying on this email's technical content is explicitly disclaimed.
The author will in no case be liable for any monetary damages arising from
such loss, damage or destruction.




On Mon, 29 Apr 2019 at 09:54, CPC <acha...@gmail.com> wrote:

> Hi All,
>
> Does spark2 support concurrency on hive tables? I mean when we query with
> hive and issue show locks we can see shared locks. But when we use spark
> sql and query tables we could not see any locks on tables.
>
> Thanks in advance..
>

Reply via email to