You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dylan Guedes (Jira)" <ji...@apache.org> on 2019/10/22 01:38:00 UTC

[jira] [Created] (SPARK-29540) Thrift in some cases can't parse string to date

Dylan Guedes created SPARK-29540:
------------------------------------

             Summary: 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


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