diff options
author | Liang-Chi Hsieh <simonh@tw.ibm.com> | 2016-07-28 22:33:33 +0800 |
---|---|---|
committer | Wenchen Fan <wenchen@databricks.com> | 2016-07-28 22:33:33 +0800 |
commit | 9ade77c3fa2e1bf436b79368a97d5980c12fe215 (patch) | |
tree | 88b7f88200277e6c42272df3b22c13474e0a334e /yarn | |
parent | 762366fd8722f2b3fa98b8da9338b757a1821708 (diff) | |
download | spark-9ade77c3fa2e1bf436b79368a97d5980c12fe215.tar.gz spark-9ade77c3fa2e1bf436b79368a97d5980c12fe215.tar.bz2 spark-9ade77c3fa2e1bf436b79368a97d5980c12fe215.zip |
[SPARK-16639][SQL] The query with having condition that contains grouping by column should work
## What changes were proposed in this pull request?
The query with having condition that contains grouping by column will be failed during analysis. E.g.,
create table tbl(a int, b string);
select count(b) from tbl group by a + 1 having a + 1 = 2;
Having condition should be able to use grouping by column.
## How was this patch tested?
Jenkins tests.
Author: Liang-Chi Hsieh <simonh@tw.ibm.com>
Closes #14296 from viirya/having-contains-grouping-column.
Diffstat (limited to 'yarn')
0 files changed, 0 insertions, 0 deletions