You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Xiao Li (Jira)" <ji...@apache.org> on 2019/12/01 21:42:00 UTC
[jira] [Resolved] (SPARK-29540) Thrift in some cases can't parse
string to date
[ https://issues.apache.org/jira/browse/SPARK-29540?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xiao Li resolved SPARK-29540.
-----------------------------
Resolution: Won't Fix
> Thrift in some cases can't parse string to date
> -----------------------------------------------
>
> Key: SPARK-29540
> URL: https://issues.apache.org/jira/browse/SPARK-29540
> Project: Spark
> Issue Type: Sub-task
> Components: SQL, Tests
> Affects Versions: 3.0.0
> Reporter: Dylan Guedes
> Priority: Major
>
> I'm porting tests from PostgreSQL window.sql but anything related to casting a string to datetime seems to fail on Thrift. For instance, the following does not work:
> {code:sql}
> CREATE TABLE empsalary (
> depname string,
> empno integer,
> salary int,
> enroll_date date
> ) USING parquet;
> INSERT INTO empsalary VALUES ('develop', 10, 5200, '2007-08-01');
> {code}
--
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