Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-10212

When timestamp is converted to bigint, it's always interpreted as seconds while bigint to timestamp is in milliseconds.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • None

    Description

      select cast(ts as bigint) from tbl1. We are treating ts always in seconds.

      After HIVE-9917 is done, we should also convert based on the config hive.int.timestamp.conversion.in.seconds is true or false to convert to time in seconds or milliseconds.

      Attachments

        Issue Links

          Activity

            People

              aihuaxu Aihua Xu
              aihuaxu Aihua Xu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: