diff options
author | Keuntae Park <sirpkt@apache.org> | 2015-07-08 14:29:52 -0700 |
---|---|---|
committer | Michael Armbrust <michael@databricks.com> | 2015-07-08 14:29:52 -0700 |
commit | f031543782e8f0f5b6a4471ba1c1d5c53efbe5cd (patch) | |
tree | 3253ee6cb9cd58387fae6e5cf794ba993c6146cb /docs | |
parent | 2b40365d76b7d9d382ad5077cdf979906bca17f2 (diff) | |
download | spark-f031543782e8f0f5b6a4471ba1c1d5c53efbe5cd.tar.gz spark-f031543782e8f0f5b6a4471ba1c1d5c53efbe5cd.tar.bz2 spark-f031543782e8f0f5b6a4471ba1c1d5c53efbe5cd.zip |
[SPARK-8783] [SQL] CTAS with WITH clause does not work
Currently, CTESubstitution only handles the case that WITH is on the top of the plan.
I think it SHOULD handle the case that WITH is child of CTAS.
This patch simply changes 'match' to 'transform' for recursive search of WITH in the plan.
Author: Keuntae Park <sirpkt@apache.org>
Closes #7180 from sirpkt/SPARK-8783 and squashes the following commits:
e4428f0 [Keuntae Park] Merge remote-tracking branch 'upstream/master' into CTASwithWITH
1671c77 [Keuntae Park] WITH clause can be inside CTAS
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions