GitHub user aokolnychyi opened a pull request:
https://github.com/apache/spark/pull/21580
[SPARK-24575][SQL] Prohibit window expressions inside WHERE and HAVING
clauses
## What changes were proposed in this pull request?
As discussed
[before](https://github.com/apache/spark/pull/19193#issuecomment-393726964),
this PR prohibits window expressions inside WHERE and HAVING clauses.
## How was this patch tested?
This PR comes with a dedicated unit test.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/aokolnychyi/spark spark-24575
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/21580.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #21580
----
commit 9a07ea361eccfefe348db8a9b50acf3c68ec7a56
Author: aokolnychyi <anton.okolnychyi@...>
Date: 2018-06-17T16:56:40Z
[SPARK-24575][SQL] Prohibit window expressions inside WHERE and HAVING
clauses
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]