Uploaded image for project: 'Crunch'
  1. Crunch
  2. CRUNCH-86

Conversions between Java and Scala maps are not active in Scrunch.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.4.0
    • Component/s: Scrunch
    • Labels:
      None

      Description

      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.

        Attachments

        1. CRUNCH-86.patch
          2 kB
          Kiyan Ahmadizadeh

          Activity

            People

            • Assignee:
              kiyan Kiyan Ahmadizadeh
              Reporter:
              kiyan Kiyan Ahmadizadeh
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: