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

insert of timestamp with factional seconds inserts a NULL

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.1
    • Fix Version/s: 1.5.3, 1.6.0
    • Component/s: SQL
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: