spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Takeshi Yamamuro (Jira)" <j...@apache.org>
Subject [jira] [Resolved] (SPARK-32637) SPARK SQL JDBC truncates last value of seconds for datetime2 values for Azure SQL DB
Date Thu, 03 Sep 2020 00:19:00 GMT

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

Takeshi Yamamuro resolved SPARK-32637.
--------------------------------------
    Resolution: Invalid

> SPARK SQL JDBC truncates last value of seconds for datetime2 values for Azure SQL DB

> -------------------------------------------------------------------------------------
>
>                 Key: SPARK-32637
>                 URL: https://issues.apache.org/jira/browse/SPARK-32637
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 2.4.1
>            Reporter: Mohit Dave
>            Priority: Major
>
> SPARK jdbc is truncating TIMESTAMP values for the microsecond when datetime2 datatype
is used for Microsoft SQL Server JDBC driver.
>  
> Source data(datetime2) : '2007-08-08 12:35:29.1234567'
>  
> After loading to target using SPARK dataframes
>  
> Target data(datetime2) : '2007-08-08 12:35:29.1234560'
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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


Mime
View raw message