[SPARK-10630][SQL] Add a createDataFrame API that takes in a java list#8779
Closed
holdenk wants to merge 2 commits intoapache:masterfrom
Closed
[SPARK-10630][SQL] Add a createDataFrame API that takes in a java list#8779holdenk wants to merge 2 commits intoapache:masterfrom
holdenk wants to merge 2 commits intoapache:masterfrom
Conversation
|
Test build #42541 has finished for PR 8779 at commit
|
Contributor
Author
|
cc @mengxr who filed the Jira |
Contributor
There was a problem hiding this comment.
Should create a local DataFrame using LocalRelation. See https://github.com/holdenk/spark/blob/SPARK-10630-create-DataFrame-from-Java-List/sql/core/src/main/scala/org/apache/spark/sql/SQLContext.scala#L385.
|
Test build #42744 has finished for PR 8779 at commit
|
Contributor
|
LGTM. Merged into master. @holdenk Could you check existing Java unit tests using DataFrames and simplify the code with the new method? Thanks! |
Contributor
Author
|
@mengxr Sounds like a great idea :) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
It would be nice to support creating a DataFrame directly from a Java List of Row.