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-22725][SQL] Add failing test for select with a splatted stream #19917

Closed
wants to merge 2 commits into from

Conversation

ash211
Copy link
Contributor

@ash211 ash211 commented Dec 7, 2017

What changes were proposed in this pull request?

Add additional test. I plan to file an issue in SPARK Jira soon detailing this change. It seems like there is an assumption in .select about some behavior that's not guaranteed by Seq but does exist in a List, because replacing Stream with Seq in the test causes it to pass. Possibly this is due to Seq#map being lazy whereas List#map is eager.

How was this patch tested?

Additional test.

@ash211 ash211 changed the title Add failing test for select with a splatted stream [SPARK-22725][SQL] Add failing test for select with a splatted stream Dec 7, 2017
@SparkQA
Copy link

SparkQA commented Dec 7, 2017

Test build #84590 has finished for PR 19917 at commit 2535b21.

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

@SparkQA
Copy link

SparkQA commented Dec 7, 2017

Test build #84592 has finished for PR 19917 at commit c728535.

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

@srowen
Copy link
Member

srowen commented Dec 7, 2017

This test fails. You identified a change that'll fix it already, so, why not add that here? no need for more JIRAs.

That said I'm not clear if this isn't simply resolved in your app by not using Stream.

@srowen
Copy link
Member

srowen commented Dec 13, 2017

Let's close this or make it actually fix the issue.

srowen added a commit to srowen/spark that referenced this pull request Dec 31, 2017
@srowen srowen mentioned this pull request Dec 31, 2017
@asfgit asfgit closed this in f5b7714 Jan 1, 2018
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