-
- Downloads
[SPARK-8578] [SQL] Should ignore user defined output committer when appending data
https://issues.apache.org/jira/browse/SPARK-8578 It is not very safe to use a custom output committer when append data to an existing dir. This changes adds the logic to check if we are appending data, and if so, we use the output committer associated with the file output format. Author: Yin Huai <yhuai@databricks.com> Closes #6964 from yhuai/SPARK-8578 and squashes the following commits: 43544c4 [Yin Huai] Do not use a custom output commiter when appendiing data.
Showing
- sql/core/src/main/scala/org/apache/spark/sql/sources/commands.scala 54 additions, 35 deletions...rc/main/scala/org/apache/spark/sql/sources/commands.scala
- sql/hive/src/test/scala/org/apache/spark/sql/sources/hadoopFsRelationSuites.scala 82 additions, 1 deletion...org/apache/spark/sql/sources/hadoopFsRelationSuites.scala
Please register or sign in to comment