You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "jiaan.geng (Jira)" <ji...@apache.org> on 2020/10/13 03:00:06 UTC
[jira] [Created] (SPARK-33125) Improve the error when Lead and Lag
are not allowed to specify window frame
jiaan.geng created SPARK-33125:
----------------------------------
Summary: Improve the error when Lead and Lag are not allowed to specify window frame
Key: SPARK-33125
URL: https://issues.apache.org/jira/browse/SPARK-33125
Project: Spark
Issue Type: Sub-task
Components: SQL
Affects Versions: 3.1.0
Reporter: jiaan.geng
Except for Postgresql, other data sources (for example: vertica, oracle, redshift, mysql, presto) are not allowed to specify window frame for the Lead and Lag functions.
But the current error message is not clear enough.
{code:java}
Window Frame $f must match the required frame
{code}
The following error message is better.
{code:java}
Cannot specify window frame for lead function
{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org