AngersZhuuuu opened a new pull request #26208: [WIP][SPARK-29540][SQL]Support cast StringType to DateType follow ansi URL: https://github.com/apache/spark/pull/26208 ### What changes were proposed in this pull request? Support cast StringType to DateType as PostgresSQL ### Why are the changes needed? Parity feature between PostgreSQL and Spark ### Does this PR introduce any user-facing change? Do SQL Like: ``` CREATE TABLE empsalary ( depname string, empno integer, salary int, enroll_date date ) USING parquet; INSERT INTO empsalary VALUES ('develop', 10, 5200, '2007-08-01'); ``` ### How was this patch tested? Need add UT
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
