You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2020/05/27 02:56:00 UTC
[jira] [Commented] (SPARK-31829) Check for partition existence for
Insert overwrite if not exists queries on Hive Serde Table before
computation
[ https://issues.apache.org/jira/browse/SPARK-31829?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17117262#comment-17117262 ]
Apache Spark commented on SPARK-31829:
--------------------------------------
User 'aniket486' has created a pull request for this issue:
https://github.com/apache/spark/pull/28649
> Check for partition existence for Insert overwrite if not exists queries on Hive Serde Table before computation
> ---------------------------------------------------------------------------------------------------------------
>
> Key: SPARK-31829
> URL: https://issues.apache.org/jira/browse/SPARK-31829
> Project: Spark
> Issue Type: Bug
> Components: Spark Core
> Affects Versions: 2.1.3, 2.2.3, 2.3.4, 2.4.5
> Reporter: Aniket Namadeo Mokashi
> Priority: Major
>
> If T is a Hive table, Query: INSERT OVERWRITE table T partition(p='existing') IF NOT EXISTS select ... ; executes job/computation on Spark and then avoids loading partitions. It should avoid doing the wasteful computation and exit early.
> For Datasource table, it does avoid the computation and exits early (due to work done in SPARK-20831).
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org