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](
136
136
})
137
137
}
138
138
139
- @ transient protected [sql] val logicalPlan : LogicalPlan = queryExecution.logical match {
139
+ @ transient protected [sql] val logicalPlan : LogicalPlan = queryExecution.analyzed match {
140
140
// For various commands (like DDL) and queries with side effects, we force query optimization to
141
141
// happen right away to let these side effects take place eagerly.
142
142
case _ : Command |
@@ -146,7 +146,7 @@ class DataFrame private[sql](
146
146
_ : WriteToFile =>
147
147
LogicalRDD (queryExecution.analyzed.output, queryExecution.toRdd)(sqlContext)
148
148
case _ =>
149
- queryExecution.logical
149
+ queryExecution.analyzed
150
150
}
151
151
152
152
/**
You can’t perform that action at this time.
0 commit comments