[
https://issues.apache.org/jira/browse/SPARK-20763?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16012051#comment-16012051
]
Apache Spark commented on SPARK-20763:
--------------------------------------
User '10110346' has created a pull request for this issue:
https://github.com/apache/spark/pull/17997
> The function of `month` and `day` return an error value
> --------------------------------------------------------
>
> Key: SPARK-20763
> URL: https://issues.apache.org/jira/browse/SPARK-20763
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Affects Versions: 2.2.0
> Reporter: liuxian
> Priority: Minor
>
> spark-sql>select month("1582-09-28");
> spark-sql>10
> spark-sql>select day("1582-04-18");
> spark-sql>28
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]