Skip to content

Commit

Permalink
[SPARK-29109][SQL][TESTS] Port window.sql (Part 3)
Browse files Browse the repository at this point in the history
### What changes were proposed in this pull request?

This PR ports window.sql from PostgreSQL regression tests https://github.com/postgres/postgres/blob/REL_12_STABLE/src/test/regress/sql/window.sql#L564-L911

The expected results can be found in the link: https://github.com/postgres/postgres/blob/REL_12_STABLE/src/test/regress/expected/window.out

### Why are the changes needed?

To ensure compatibility with PostgreSQL.

### Does this PR introduce any user-facing change?

No

### How was this patch tested?

Pass the Jenkins. And, Comparison with PgSQL results.

Closes apache#26274 from DylanGuedes/spark-29109.

Authored-by: DylanGuedes <djmgguedes@gmail.com>
Signed-off-by: Takeshi Yamamuro <yamamuro@apache.org>
  • Loading branch information
DylanGuedes authored and maropu committed Nov 1, 2019
1 parent 14337f6 commit f53be0a
Show file tree
Hide file tree
Showing 2 changed files with 860 additions and 0 deletions.

0 comments on commit f53be0a

Please sign in to comment.