ganeshashree commented on code in PR #52732:
URL: https://github.com/apache/spark/pull/52732#discussion_r2474228897


##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/catalog/SessionCatalog.scala:
##########
@@ -1024,7 +1024,16 @@ class SessionCatalog(
           // output is the same with the view output.
           metadata.schema.fieldNames.toImmutableArraySeq
         } else {
-          assert(metadata.viewQueryColumnNames.length == 
metadata.schema.length)
+          assert(metadata.viewQueryColumnNames.length == 
metadata.schema.length,
+            "Corrupted view metadata detected for view " +
+            metadata.identifier.unquotedString + ". " +

Review Comment:
   Done.



-- 
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]

Reply via email to