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

Cast of nested types does work as expected

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 0.4.0
    • 0.6.0
    • impl
    • None

    Description

      The following script does not work as expected:

      1.txt:
      (0.2,0.3)

      a = load '1.txt';
      b = foreach a generate (tuple(int, int))$0;

      describe b;
      b:

      {(int,int)}

      dump b;
      ((0.2,0.3))

      The expect result is ((0, 0))

      Attachments

        Activity

          People

            Unassigned Unassigned
            daijy Daniel Dai
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: