aboutsummaryrefslogtreecommitdiff
path: root/graphx/src
diff options
context:
space:
mode:
authorNong Li <nongli@gmail.com>2015-11-02 20:32:08 -0800
committerYin Huai <yhuai@databricks.com>2015-11-02 20:32:08 -0800
commit9cb5c731dadff9539126362827a258d6b65754bb (patch)
treeacc95aefbc77ba4c6557b15cdbfb6d09ec2118d4 /graphx/src
parent2cef1bb0b560a03aa7308f694b0c66347b90c9ea (diff)
downloadspark-9cb5c731dadff9539126362827a258d6b65754bb.tar.gz
spark-9cb5c731dadff9539126362827a258d6b65754bb.tar.bz2
spark-9cb5c731dadff9539126362827a258d6b65754bb.zip
[SPARK-11329][SQL] Support star expansion for structs.
1. Supporting expanding structs in Projections. i.e. "SELECT s.*" where s is a struct type. This is fixed by allowing the expand function to handle structs in addition to tables. 2. Supporting expanding * inside aggregate functions of structs. "SELECT max(struct(col1, structCol.*))" This requires recursively expanding the expressions. In this case, it it the aggregate expression "max(...)" and we need to recursively expand its children inputs. Author: Nong Li <nongli@gmail.com> Closes #9343 from nongli/spark-11329.
Diffstat (limited to 'graphx/src')
0 files changed, 0 insertions, 0 deletions