spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jiangxb1987 <>
Subject [GitHub] spark pull request #18634: [SPARK-21414] Refine SlidingWindowFunctionFrame t...
Date Tue, 18 Jul 2017 04:58:25 GMT
Github user jiangxb1987 commented on a diff in the pull request:
    --- Diff: sql/core/src/test/scala/org/apache/spark/sql/execution/SQLWindowFunctionSuite.scala
    @@ -356,6 +356,42 @@ class SQLWindowFunctionSuite extends QueryTest with SharedSQLContext
    +  test("window function: mutiple window expressions specified by range in a single expression")
    +    val nums = sparkContext.parallelize(1 to 10).map(x => (x, x % 2)).toDF("x", "y")
    +    nums.createOrReplaceTempView("nums")
    --- End diff --
    And this test case doesn't cover when CurrentRow is not in the window frame. We'd better
add that senario.

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 or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message