[ 
https://issues.apache.org/jira/browse/SPARK-36861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17421328#comment-17421328
 ] 

Senthil Kumar commented on SPARK-36861:
---------------------------------------

[~tanelk] This is issue not reproducable even in 3.1.2

 

root
 |-- i: integer (nullable = true)
 |-- hour: string (nullable = true)

> Partition columns are overly eagerly parsed as dates
> ----------------------------------------------------
>
>                 Key: SPARK-36861
>                 URL: https://issues.apache.org/jira/browse/SPARK-36861
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 3.3.0
>            Reporter: Tanel Kiis
>            Priority: Blocker
>
> I have an input directory with subdirs:
> * hour=2021-01-01T00
> * hour=2021-01-01T01
> * hour=2021-01-01T02
> * ...
> in spark 3.1 the 'hour' column is parsed as a string type, but in 3.2 RC it 
> is parsed as date type and the hour part is lost.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to