You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "angerszhu (Jira)" <ji...@apache.org> on 2019/10/22 09:42:00 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16956863#comment-16956863 ]
angerszhu commented on SPARK-29540:
-----------------------------------
check on this.
> 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