[
https://issues.apache.org/jira/browse/CRUNCH-86?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kiyan Ahmadizadeh updated CRUNCH-86:
------------------------------------
Attachment: CRUNCH-86.patch
This patch fixes the problem by adding the correct implicit def to the
companion object for PTypeH.
It also changes things up so that the Scala map used is the standard immutable
Map that is in scope for Scala programs by default.
> Conversions between Java and Scala maps are not active in Scrunch.
> ------------------------------------------------------------------
>
> Key: CRUNCH-86
> URL: https://issues.apache.org/jira/browse/CRUNCH-86
> Project: Crunch
> Issue Type: Bug
> Components: Scrunch
> Reporter: Kiyan Ahmadizadeh
> Assignee: Kiyan Ahmadizadeh
> Attachments: CRUNCH-86.patch
>
>
> The trait PTypeFamily in Scrunch provides derived PType(s) for Scala types.
> Conversions.scala contains a PTypeH companion object that provides implicit
> defs to get PTypeH (which in turn provide a PType) for various types. Because
> this companion object does not contain an implicit def for maps that takes
> advantage of the PType for maps provided in trait PTypeFamily, Java maps are
> provided to functions operating on PCollections of Maps. This should be
> changed so that Scala maps are provided instead.
--
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