Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SPARK-27136][SQL] Remove data source option check_files_exist #24069

Closed

Conversation

gengliangwang
Copy link
Member

@gengliangwang gengliangwang commented Mar 12, 2019

What changes were proposed in this pull request?

The data source option check_files_exist is introduced in In #23383 when the file source V2 framework is implemented. In the PR, FileIndex was created as a member of FileTable, so that we could implement partition pruning like 0f9fcab in the future. At that time FileIndexes will always be created for file writes, so we needed the option to decide whether to check file existence.

After #23774, the option is not needed anymore, since Dataframe writes won't create unnecessary FileIndex. This PR is to remove the option.

How was this patch tested?

Unit test.

@gengliangwang
Copy link
Member Author

@cloud-fan

@SparkQA
Copy link

SparkQA commented Mar 12, 2019

Test build #103372 has finished for PR 24069 at commit 69f4d45.

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

@gengliangwang gengliangwang force-pushed the removeOptionCheckFilesExist branch from 69f4d45 to 0ce1db4 Compare March 14, 2019 04:54
@SparkQA
Copy link

SparkQA commented Mar 14, 2019

Test build #103476 has finished for PR 24069 at commit 0ce1db4.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@cloud-fan
Copy link
Contributor

LGTM if tests pass

@gengliangwang
Copy link
Member Author

retest this please.

@SparkQA
Copy link

SparkQA commented Mar 14, 2019

Test build #103497 has finished for PR 24069 at commit 0ce1db4.

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

@cloud-fan
Copy link
Contributor

thanks, merging to master!

@cloud-fan cloud-fan closed this in 6d22ee3 Mar 15, 2019
Sign up for free to 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.

3 participants