Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-1604

'relation as scalar' does not work with complex types

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.8.0
    • 0.8.0
    • None
    • None
    • Reviewed

    Description

      Statement such as
      sclr = limit b 1;
      d = foreach a generate name, age/(double)sclr.mapcol#'it' as some_sum;

      Results in the following parse error:
      ERROR 1000: Error during parsing. Non-atomic field expected but found atomic field

      Attachments

        1. PIG-1604.1.patch
          4 kB
          Thejas Nair

        Activity

          People

            thejas Thejas Nair
            thejas Thejas Nair
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: