[
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: [email protected]
For additional commands, e-mail: [email protected]