srielau commented on code in PR #46267:
URL: https://github.com/apache/spark/pull/46267#discussion_r1595672298


##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/view.scala:
##########
@@ -35,6 +35,56 @@ object EliminateView extends Rule[LogicalPlan] with 
CastSupport {
   }
 }
 
+/**
+ * ViewBindingMode is used to specify the expected schema binding mode when we 
want to create or
+ * replace a view in [[CreateViewStatement]].
+ */
+sealed trait ViewSchemaMode {
+  override val toString: String = getClass.getSimpleName.stripSuffix("$")

Review Comment:
   Intelij seems to disagree
   <img width="553" alt="Screenshot 2024-05-09 at 9 13 37 AM" 
src="https://github.com/apache/spark/assets/3514644/4af555f4-742d-4a86-a605-02ba14ee129c";>
   



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