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

casting numeric type to chararray during schema merge for union is inconsistent with other schema merge cases

    XMLWordPrintableJSON

Details

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

    Description

      In PIG-1536, if a column in output of union has a source column one input of type charraray and in other it is of a numeric type, the column of numeric type will be cast to chararray. But in all other cases, chararray and numeric types are considered incompatible, and as a result such implicit casting is not done.
      To be consistent with other cases, union also should consider chararray and numeric types to be incompatible.

      Attachments

        1. PIG-2071.1.patch
          7 kB
          Thejas Nair

        Activity

          People

            thejas Thejas Nair
            thejas Thejas Nair
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: