Skip to content

[SPARK-15765][SQL][Streaming] Make continuous Parquet writes consistent with non-continuous Parquet writes - #13507

Closed
lw-lin wants to merge 1 commit into
apache:masterfrom
lw-lin:parquet-conf-deduplicate
Closed

[SPARK-15765][SQL][Streaming] Make continuous Parquet writes consistent with non-continuous Parquet writes#13507
lw-lin wants to merge 1 commit into
apache:masterfrom
lw-lin:parquet-conf-deduplicate

Conversation

@lw-lin

@lw-linlw-lin commented Jun 4, 2016

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

Currently there are some code duplicates in continuous Parquet writes (as in Structured Streaming) and non-continuous writes; see ParquetFileFormat#prepareWrite() and ParquetFileFormat#ParquetOutputWriterFactory.

This may lead to inconsistent behavior, when we only change one piece of code but not the other.

By extracting the common code out, this patch fixes the inconsistency. As a result, Structured Streaming now also enjoys SPARK-15719.

How was this patch tested?

Just code refactoring without any logic change; this should be covered by existing suites.

@lw-linlw-lin changed the title [SPARK-15765][SQL][Streaming] Make continuous Parquet writing consistent with non-consistent Parquet writing[SPARK-15765][SQL][Streaming] Make continuous Parquet writing consistent with non-continuous Parquet writingJun 4, 2016
@SparkQA

Copy link
Copy Markdown

Test build #59983 has finished for PR 13507 at commit 60a2c8e.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@lw-lin

Copy link
Copy Markdown
ContributorAuthor

@liancheng@tdas@zsxwing would you mind taking a look? Thanks!

@lw-linlw-lin changed the title [SPARK-15765][SQL][Streaming] Make continuous Parquet writing consistent with non-continuous Parquet writing[SPARK-15765][SQL][Streaming] Make continuous Parquet writes consistent with non-continuous Parquet writesJun 5, 2016
@lw-lin

Copy link
Copy Markdown
ContributorAuthor

I'm closing this in favor of SPARK-17924, thanks!

@lw-linlw-lin closed this Oct 21, 2016
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@lw-lin@SparkQA