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

support cast of chararray to other simple types

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.4.0
    • 0.4.0
    • None
    • None
    • PIG-893: Added casts from chararray to int, long, float, and double.

    Description

      Pig should support casting of chararray to integer,long,float,double,bytearray. If the conversion fails for reasons such as overflow, cast should return null and log a warning.

      Attachments

        1. Pig_893.Patch
          20 kB
          Jeff Zhang

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: