[ https://issues.apache.org/jira/browse/SPARK-33125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17212805#comment-17212805 ]
Apache Spark commented on SPARK-33125: -------------------------------------- User 'beliefer' has created a pull request for this issue: https://github.com/apache/spark/pull/30021 > 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 > Priority: Major > > 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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org