Skip to content

Commit c12c79c

Browse files
committed
Add doc for returned value.
1 parent de64328 commit c12c79c

File tree

1 file changed

+3
-0
lines changed
  • sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis

1 file changed

+3
-0
lines changed

sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/Analyzer.scala

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -651,6 +651,9 @@ class Analyzer(
651651
* the window expression as attribute references. So, the first returned value will be
652652
* `[Sum(_w0) OVER (PARTITION BY _w1 ORDER BY _w2)]` and the second returned value will be
653653
* [col1, col2 + col3 as _w0, col4 as _w1, col5 as _w2].
654+
*
655+
* @return (seq of expressions containing at lease one window expressions,
656+
* seq of non-window expressions)
654657
*/
655658
private def extract(
656659
expressions: Seq[NamedExpression]): (Seq[NamedExpression], Seq[NamedExpression]) = {

0 commit comments

Comments
 (0)