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

describe schema does not show correct types

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.2.0
    • 0.2.0
    • None
    • None

    Description

      grunt> B = load 'foo' USING PigStorage() AS (s:chararray);
      grunt> describe B;

      {s: bytearray}

      This is because of lazy casting of the data. We need to store the "user percieved type" in addition to actual type and use the first in describe

      Attachments

        Activity

          People

            gates Alan Gates
            olgan Olga Natkovich
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: