uros-b commented on code in PR #56351:
URL: https://github.com/apache/spark/pull/56351#discussion_r3465896981
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/TableOutputResolver.scala:
##########
@@ -388,7 +388,7 @@ object TableOutputResolver extends SQLConfHelper with
Logging {
if (reordered.length == expectedCols.length) {
if (matchedCols.size < inputCols.length) {
val extraCols = inputCols.filterNot(col =>
matchedCols.contains(col.name))
- .map(col => s"${toSQLId(col.name)}").mkString(", ")
+ .map(col => s"${toSQLId(Seq(col.name))}").mkString(", ")
Review Comment:
Seems like a redundant s"${...}" string-interpolation wrapper around a
single expression, we could simplify?
--
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]