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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.10.0
    • 0.8.4, 0.11.0
    • Core
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: