Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
2.1.0
Description
The query in CTAS is optimized twice, as reported in the PR: https://github.com/apache/spark/pull/14797
Some analyzer rules have assumptions on logical plans, optimizer may break these assumption, we should not pass an optimized query plan into QueryExecution (will be analyzed again), otherwise we may some weird bugs.
Attachments
Issue Links
- is related to
-
SPARK-17892 Query in CTAS is Optimized Twice (branch-2.0)
- Resolved
- links to