File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
sql/core/src/main/scala/org/apache/spark/sql Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ class DataFrame private[sql](
136136 })
137137 }
138138
139- @ transient protected [sql] val logicalPlan : LogicalPlan = queryExecution.logical match {
139+ @ transient protected [sql] val logicalPlan : LogicalPlan = queryExecution.analyzed match {
140140 // For various commands (like DDL) and queries with side effects, we force query optimization to
141141 // happen right away to let these side effects take place eagerly.
142142 case _ : Command |
@@ -146,7 +146,7 @@ class DataFrame private[sql](
146146 _ : WriteToFile =>
147147 LogicalRDD (queryExecution.analyzed.output, queryExecution.toRdd)(sqlContext)
148148 case _ =>
149- queryExecution.logical
149+ queryExecution.analyzed
150150 }
151151
152152 /**
You can’t perform that action at this time.
0 commit comments