spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiao Li (Jira)" <j...@apache.org>
Subject [jira] [Resolved] (SPARK-29540) Thrift in some cases can't parse string to date
Date Sun, 01 Dec 2019 21:42:00 GMT

     [ 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


Mime
View raw message