GitHub user srowen opened a pull request:

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

    SPARK-2745 [STREAMING] Add Java friendly methods to Duration class

    @tdas is this what you had in mind for this JIRA? I saw this one and 
thought it would be easy to take care of, and helpful as I use streaming from 
Java.
    
    I could do the same for `Time`? Happy to do so.

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

    $ git pull https://github.com/srowen/spark SPARK-2745

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

    https://github.com/apache/spark/pull/2403.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 #2403
    
----
commit 4dee32e20e80132a2ca9f9614ae76e669187895e
Author: Sean Owen <[email protected]>
Date:   2014-09-15T21:23:01Z

    Add named methods to Duration in parallel to symbolic methods for 
Java-friendliness. Also add unit tests for Duration, in Scala and Java.

----


---
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