Skip to content

[SPARK-16884] Move DataSourceScanExec out of ExistingRDD.scala file #14487

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

Closed
wants to merge 1 commit into from

Conversation

ericl
Copy link
Contributor

@ericl ericl commented Aug 3, 2016

What changes were proposed in this pull request?

This moves DataSourceScanExec out so it's more discoverable, and now that it doesn't necessarily depend on an existing RDD. cc @davies

How was this patch tested?

Existing tests.

@@ -361,7 +360,7 @@ private[sql] object DataSourceStrategy extends Strategy with Logging {
val markedFilters = for (filter <- pushedFilters) yield {
if (handledFilters.contains(filter)) s"*$filter" else s"$filter"
}
pairs += (PUSHED_FILTERS -> markedFilters.mkString("[", ", ", "]"))
pairs += ("PushedFilters" -> markedFilters.mkString("[", ", ", "]"))
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I also got rid of the string constant for this. It doesn't seem to be required for correctness, and we also use raw strings for other metadata keys / metrics so it seemed inconsistent.

@SparkQA
Copy link

SparkQA commented Aug 4, 2016

Test build #63196 has finished for PR 14487 at commit 5fcd92e.

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

@davies
Copy link
Contributor

davies commented Aug 4, 2016

LGTM, merging into master, thanks!

@asfgit asfgit closed this in ac2a26d Aug 4, 2016
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