spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Takeshi Yamamuro (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SPARK-25193) insert overwrite doesn't throw exception when drop old data fails
Date Thu, 30 Aug 2018 10:25:00 GMT

     [ https://issues.apache.org/jira/browse/SPARK-25193?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Takeshi Yamamuro updated SPARK-25193:
-------------------------------------
    Component/s:     (was: Spark Core)
                 SQL

> insert overwrite doesn't throw exception when drop old data fails
> -----------------------------------------------------------------
>
>                 Key: SPARK-25193
>                 URL: https://issues.apache.org/jira/browse/SPARK-25193
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.2.0
>            Reporter: chen xiao
>            Priority: Major
>
> dataframe.write.mode(SaveMode.Overwrite).insertInto(s"$databaseName.$tableName")
> Insert overwrite mode will drop old data in hive table if there's old data.
> But if data deleting fails, no exception will be thrown and the data folder will be like:
> hdfs://uxs_nbp/nba_score/dt=2018-08-15/seq_num=2/part-00000
> hdfs://uxs_nbp/nba_score/dt=2018-08-15/seq_num=2/part-000001534916642513.
> Two copies of data will be kept.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message