Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-11817

insert of timestamp with factional seconds inserts a NULL

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5.1
    • 1.5.3, 1.6.0
    • SQL
    • None

    Description

      Using the Thrift jdbc interface.

      The insert of the value of "1970-01-01 00:00:00.123456789" to a timestamp column, inserts a NULL into the database. I am aware the of the change
      From 1.5 releases notes Timestamp Type’s precision is reduced to 1 microseconds (1us). However, to be compatible with previous versions, I would suggest either rounding or truncating the fractional seconds not inserting a NULL.

      Attachments

        Activity

          People

            viirya L. C. Hsieh
            csands@progress.com Chip Sands
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: