aboutsummaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorLiang-Chi Hsieh <simonh@tw.ibm.com>2016-09-21 06:53:42 -0700
committerHerman van Hovell <hvanhovell@databricks.com>2016-09-21 06:53:42 -0700
commit248922fd4fb7c11a40304431e8cc667a8911a906 (patch)
treedbba079a41bc7a83adb4d583787c71d9252bdfd4 /.gitignore
parentdd7561d33761d119ded09cfba072147292bf6964 (diff)
downloadspark-248922fd4fb7c11a40304431e8cc667a8911a906.tar.gz
spark-248922fd4fb7c11a40304431e8cc667a8911a906.tar.bz2
spark-248922fd4fb7c11a40304431e8cc667a8911a906.zip
[SPARK-17590][SQL] Analyze CTE definitions at once and allow CTE subquery to define CTE
## What changes were proposed in this pull request? We substitute logical plan with CTE definitions in the analyzer rule CTESubstitution. A CTE definition can be used in the logical plan for multiple times, and its analyzed logical plan should be the same. We should not analyze CTE definitions multiple times when they are reused in the query. By analyzing CTE definitions before substitution, we can support defining CTE in subquery. ## How was this patch tested? Jenkins tests. Author: Liang-Chi Hsieh <simonh@tw.ibm.com> Closes #15146 from viirya/cte-analysis-once.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions