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/08/09 22:57:20 UTC
[jira] [Commented] (SPARK-16983) Add `prettyName` to row_number,
dense_rank, percent_rank, cume_dist
[ https://issues.apache.org/jira/browse/SPARK-16983?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15414398#comment-15414398 ]
Apache Spark commented on SPARK-16983:
--------------------------------------
User 'dongjoon-hyun' has created a pull request for this issue:
https://github.com/apache/spark/pull/14571
> Add `prettyName` to row_number, dense_rank, percent_rank, cume_dist
> -------------------------------------------------------------------
>
> Key: SPARK-16983
> URL: https://issues.apache.org/jira/browse/SPARK-16983
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Reporter: Dongjoon Hyun
> Priority: Minor
>
> Currently, two-word window functions like `row_number`, `dense_rank`, `percent_rank`, and `cume_dist` are expressed without `_` in error messages. We had better show the correct names.
> **Before**
> {code}
> scala> sql("select row_number()").show
> java.lang.UnsupportedOperationException: Cannot evaluate expression: rownumber()
> {code}
> **After**
> {code}
> scala> sql("select row_number()").show
> java.lang.UnsupportedOperationException: Cannot evaluate expression: row_number()
> {code}
--
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