diff options
author | Cheng Lian <lian@databricks.com> | 2016-07-25 09:42:39 -0700 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2016-07-25 09:42:39 -0700 |
commit | 7ea6d282b925819ddb3874a67b3c9da8cc41f131 (patch) | |
tree | 5f343ac3f05a2659593d73ccd9b28575447a6d16 /README.md | |
parent | 79826f3c7936ee27457d030c7115d5cac69befd7 (diff) | |
download | spark-7ea6d282b925819ddb3874a67b3c9da8cc41f131.tar.gz spark-7ea6d282b925819ddb3874a67b3c9da8cc41f131.tar.bz2 spark-7ea6d282b925819ddb3874a67b3c9da8cc41f131.zip |
[SPARK-16703][SQL] Remove extra whitespace in SQL generation for window functions
## What changes were proposed in this pull request?
This PR fixes a minor formatting issue of `WindowSpecDefinition.sql` when no partitioning expressions are present.
Before:
```sql
( ORDER BY `a` ASC ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW)
```
After:
```sql
(ORDER BY `a` ASC ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW)
```
## How was this patch tested?
New test case added in `ExpressionSQLBuilderSuite`.
Author: Cheng Lian <lian@databricks.com>
Closes #14334 from liancheng/window-spec-sql-format.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions