You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2016/10/14 15:49:20 UTC

[jira] [Commented] (SPARK-17940) Typo in LAST function error message

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

Apache Spark commented on SPARK-17940:
--------------------------------------

User 'lins05' has created a pull request for this issue:
https://github.com/apache/spark/pull/15487

> Typo in LAST function error message
> -----------------------------------
>
>                 Key: SPARK-17940
>                 URL: https://issues.apache.org/jira/browse/SPARK-17940
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>            Reporter: Shuai Lin
>            Priority: Minor
>
> https://github.com/apache/spark/blob/v2.0.1/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/aggregate/Last.scala#L40
> {code}
>       throw new AnalysisException("The second argument of First should be a boolean literal.")
> {code} 
> "First" should be "Last".
> Also the usage string can be improved to match the FIRST function.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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