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

Empty PCollection returns null Long for length().getValue()

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.10.0
    • Fix Version/s: 0.8.4, 0.11.0
    • Component/s: Core
    • Labels:
      None

      Description

      PCollection lengths are determined by summing 1s for each record, but when the PCollection is empty there is no sum and so the PObject returns a null length.

        Attachments

        1. CRUNCH-464.patch
          0.7 kB
          Jeremy Beard

          Activity

            People

            • Assignee:
              jwills Josh Wills
              Reporter:
              rem120 Jeremy Beard
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: