You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@crunch.apache.org by "Josh Wills (JIRA)" <ji...@apache.org> on 2012/09/26 01:44:08 UTC

[jira] [Resolved] (CRUNCH-77) Scala PObjects should contain values of Scala types, not Java types.

     [ https://issues.apache.org/jira/browse/CRUNCH-77?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Josh Wills resolved CRUNCH-77.
------------------------------

       Resolution: Fixed
    Fix Version/s: 0.4.0

Committed-- thanks Kiyan!
                
> Scala PObjects should contain values of Scala types, not Java types.
> --------------------------------------------------------------------
>
>                 Key: CRUNCH-77
>                 URL: https://issues.apache.org/jira/browse/CRUNCH-77
>             Project: Crunch
>          Issue Type: Improvement
>          Components: Scrunch
>    Affects Versions: 0.4.0
>            Reporter: Kiyan Ahmadizadeh
>            Assignee: Kiyan Ahmadizadeh
>             Fix For: 0.4.0
>
>         Attachments: CRUNCH-77.patch
>
>
> The current implementation of PObjects in Scrunch simply wraps a Java PObject (JPObject) and returns a value of the same type as that returned by the underlying JPObject.  This is inconvenient, as users will likely wish to work with Scala types instead of Java types.
> PObjects in Scala should be modified to allow for conversions between Java and Scala types when returning values from the PObject.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira