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

ISODateTime -> DateTime: DateTime UDFs Should Also Support int/second Unix Times in All Operations

    Details

    • Tags:
      datetimes in pig unix time iso format integer second

      Description

      All functions in contrib.piggybank.java.src.main.java.org.apache.pig.piggybank.evaluation.datetime should seamlessly accept integer Unix/POSIX times, and return Unix time output when given an int, and ISO output when given a chararray.

      Note: Unix/POSIX times are the number of seconds elapsed since midnight proleptic Coordinated Universal Time (UTC) of January 1, 1970, not counting leap seconds. See http://en.wikipedia.org/wiki/Unix_time

        Attachments

          Activity

            People

            • Assignee:
              sreedish.ps Sreedish P S
              Reporter:
              russell.jurney Russell Jurney
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: