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

[zebra] map split returns null

    XMLWordPrintableJSON

Details

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

    Description

      Here is the test scenario:
      final static String STR_SCHEMA = "m1:map(string),m2:map(map(int))";
      //final static String STR_STORAGE = "[m1#

      {a}];m2#{x|y}; m1#{b}, m2#{z};[m1]";
      final static String STR_STORAGE = "[m1#{a}

      , m2#

      {x}

      ];[m2#

      {x|y}

      ]; [m1#

      {b}, m2#{z}];[m1,m2]";

      projection: String projection2 = new String("m1#{b}

      , m2#

      {x|z}

      ");
      User got null pointer exception on reading m1#

      {b}

      .

      Yan, please refer to the test class:
      TestNonDefaultWholeMapSplit.java

      Attachments

        1. PIG_1026.patch
          23 kB
          Yan Zhou

        Activity

          People

            yanz Yan Zhou
            jing1234 Jing Huang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: