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

Lineage need to set for every cast

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.9.0
    • 0.9.0
    • impl
    • None

    Description

      The following script does not cast correctly:

      a = load '1.txt' as (m:map[]);
      b = foreach a generate (map[chararray])m;
      dump b;
      

      Pig throw warning that it cannot cast (map[chararray]) because caster is null.

      Attachments

        1. PIG-1974.1.patch
          5 kB
          Thejas Nair

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: