Skip to content

Conversation

@rxin
Copy link
Contributor

@rxin rxin commented Apr 7, 2016

What changes were proposed in this pull request?

The Scala Dataset public API currently only allows users to specify encoders through SQLContext.implicits. This is OK but sometimes people want to explicitly get encoders without a SQLContext (e.g. Aggregator implementations). This patch adds public APIs to Encoders class for getting Scala encoders.

How was this patch tested?

None - I will update test cases once #12231 is merged.

@rxin
Copy link
Contributor Author

rxin commented Apr 7, 2016

cc @cloud-fan

@rxin rxin changed the title [SPARK-14452][SQL] Provide ways to specify encoders in Scala without … [SPARK-14452][SQL] Explicit APIs in Scala for specifying encoders Apr 7, 2016
@SparkQA
Copy link

SparkQA commented Apr 7, 2016

Test build #55188 has finished for PR 12232 at commit b260790.

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

@cloud-fan
Copy link
Contributor

LGTM

@rxin
Copy link
Contributor Author

rxin commented Apr 7, 2016

Thanks - merging in master.

@asfgit asfgit closed this in e11aa9e Apr 7, 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