We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43706bf commit bfbb4feCopy full SHA for bfbb4fe
sql/core/src/test/scala/org/apache/spark/sql/test/SQLTestUtils.scala
@@ -189,7 +189,7 @@ private[sql] trait SQLTestUtils
189
.executedPlan.asInstanceOf[org.apache.spark.sql.execution.Filter]
190
.child
191
.execute()
192
- .map(row => Row.fromSeq(row.toSeq(schema)))
+ .map(row => Row.fromSeq(row.copy().toSeq(schema)))
193
194
sqlContext.createDataFrame(childRDD, schema)
195
}
0 commit comments