Liwei Lin created SPARK-15765:
---------------------------------
Summary: Make continuous Parquet writing consistent with
non-consistent Parquet writing
Key: SPARK-15765
URL: https://issues.apache.org/jira/browse/SPARK-15765
Project: Spark
Issue Type: Sub-task
Components: SQL
Affects Versions: 2.0.0
Reporter: Liwei Lin
Currently there are some code duplicates in continuous Parquet writing (as in
Structured Streaming) and non-continuous batch writing; see
[ParquetFileFormat#prepareWrite()|(https://github.com/apache/spark/blob/431542765785304edb76a19885fbc5f9b8ae7d64/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/parquet/ParquetFileFormat.scala#L68]
and
[ParquetFileFormat#ParquetOutputWriterFactory|https://github.com/apache/spark/blob/431542765785304edb76a19885fbc5f9b8ae7d64/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/parquet/ParquetFileFormat.scala#L414].
This may lead to inconsistent behavior, when we only change one piece of code
but not the other.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]