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

Liwei Lin updated SPARK-15765:
------------------------------
    Description: 
Currently there are some code duplicates in continuous Parquet writes (as in 
Structured Streaming) and non-continuous writes; 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.


  was:
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.



> Make continuous Parquet writes consistent with non-continuous Parquet writes
> ----------------------------------------------------------------------------
>
>                 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 writes (as in 
> Structured Streaming) and non-continuous writes; 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]

Reply via email to