HyukjinKwon commented on code in PR #47648:
URL: https://github.com/apache/spark/pull/47648#discussion_r1708168718
##########
sql/core/src/main/scala/org/apache/spark/sql/scripting/SqlScriptingExecutionNode.scala:
##########
@@ -75,14 +76,17 @@ trait NonLeafStatementExec extends CompoundStatementExec {
// of boolean type with value True.
val df = Dataset.ofRows(session, statement.parsedPlan)
df.schema.fields match {
- case Array(field) if field.dataType == BooleanType =>
+ case Array(StructField(_, BooleanType, _, _)) =>
Review Comment:
why do we change this?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]