You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Nilesh Patil (Jira)" <ji...@apache.org> on 2020/07/07 05:58:00 UTC
[jira] [Created] (SPARK-32205) Writing timestamp in mysql gets
fails
Nilesh Patil created SPARK-32205:
------------------------------------
Summary: Writing timestamp in mysql gets fails
Key: SPARK-32205
URL: https://issues.apache.org/jira/browse/SPARK-32205
Project: Spark
Issue Type: Bug
Components: Java API
Affects Versions: 2.3.4
Reporter: Nilesh Patil
When we are writing to mysql with TIMESTAMP column it supports only rangeĀ '1970-01-01 00:00:01' UTC to '2038-01-19 03:14:07'. Mysql has DATETIME datatype which has 1000-01-01 00:00:00' to '9999-12-31 23:59:59' range.
[https://dev.mysql.com/doc/refman/5.7/en/datetime.html]
How to map spark timestamp datatype to mysql datetime datatype ?
--
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