GitHub user rxin opened a pull request:

    https://github.com/apache/spark/pull/12232

    [SPARK-14452][SQL] Provide ways to specify encoders in Scala without …

    ## 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 
https://github.com/apache/spark/pull/12231 is merged.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/rxin/spark SPARK-14452

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/12232.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #12232
    
----
commit b260790e9a07f19e06d7e63cf90d365d93f14ff7
Author: Reynold Xin <[email protected]>
Date:   2016-04-07T05:50:01Z

    [SPARK-14452][SQL] Provide ways to specify encoders in Scala without 
implicits

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to