Github user srowen commented on a diff in the pull request:
https://github.com/apache/spark/pull/17417#discussion_r108056334
--- Diff:
sql/core/src/main/scala/org/apache/spark/sql/expressions/Window.scala ---
@@ -162,11 +162,11 @@ object Window {
* Creates a [[WindowSpec]] with the frame boundaries defined,
* from `start` (inclusive) to `end` (inclusive).
*
- * Both `start` and `end` are relative from the current row. For
example, "0" means "current row",
+ * Both `start` and `end` are relative to the current row. For example,
"0" means "current row",
* while "-1" means one off before the current row, and "5" means the
five off after the
* current row.
*
- * We recommend users use `Window.unboundedPreceding`,
`Window.unboundedFollowing`,
+ * We recommend that users use `Window.unboundedPreceding`,
`Window.unboundedFollowing`,
--- End diff --
Either way is correct, it wasn't wrong
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]