spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yin Huai (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SPARK-11817) insert of timestamp with factional seconds inserts a NULL
Date Fri, 20 Nov 2015 19:45:11 GMT

     [ https://issues.apache.org/jira/browse/SPARK-11817?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Yin Huai resolved SPARK-11817.
------------------------------
       Resolution: Fixed
    Fix Version/s: 1.6.0
                   1.5.3

Issue resolved by pull request 9834
[https://github.com/apache/spark/pull/9834]

> insert of timestamp with factional seconds inserts a NULL
> ---------------------------------------------------------
>
>                 Key: SPARK-11817
>                 URL: https://issues.apache.org/jira/browse/SPARK-11817
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 1.5.1
>            Reporter: Chip Sands
>             Fix For: 1.5.3, 1.6.0
>
>
> 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. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message