Return-Path: X-Original-To: apmail-incubator-crunch-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-crunch-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2D0D7D2AE for ; Tue, 25 Sep 2012 23:44:08 +0000 (UTC) Received: (qmail 15965 invoked by uid 500); 25 Sep 2012 23:44:08 -0000 Delivered-To: apmail-incubator-crunch-dev-archive@incubator.apache.org Received: (qmail 15931 invoked by uid 500); 25 Sep 2012 23:44:08 -0000 Mailing-List: contact crunch-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: crunch-dev@incubator.apache.org Delivered-To: mailing list crunch-dev@incubator.apache.org Received: (qmail 15903 invoked by uid 99); 25 Sep 2012 23:44:08 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Sep 2012 23:44:08 +0000 Date: Wed, 26 Sep 2012 10:44:08 +1100 (NCT) From: "Josh Wills (JIRA)" To: crunch-dev@incubator.apache.org Message-ID: <1730545171.125910.1348616648067.JavaMail.jiratomcat@arcas> In-Reply-To: <2022295609.119969.1348535709345.JavaMail.jiratomcat@arcas> Subject: [jira] [Resolved] (CRUNCH-77) Scala PObjects should contain values of Scala types, not Java types. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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