Pig
  1. Pig
  2. PIG-1021

Cast of nested types does work as expected

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: 0.4.0
    • Fix Version/s: 0.6.0
    • Component/s: impl
    • Labels:
      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))

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Daniel Dai
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development