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

[Zebra] No type check when we write to the basic table

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.7.0
    • 0.8.0
    • None
    • None

    Description

      In Zebra, we do not have any type check when writing to a basic table.

      Say, we have a schema: "f1:int, f2:string",
      however we can write a tuple ("abc", 123) without any problem, which is definitely not desirable.

      To overcome this problem, we decide to perform certain amount of type checking in Zebra - We check the first row only for each writer.
      This only serves as a sanity check purpose in cases where users screw up specifying the output schema. We do NOT perform a rigorous type checking for all rows for apparently performance concerns.

      Attachments

        Activity

          People

            chaow Chao Wang
            chaow Chao Wang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: