shardulm94 commented on a change in pull request #34254:
URL: https://github.com/apache/spark/pull/34254#discussion_r727415203



##########
File path: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/catalog/SessionCatalog.scala
##########
@@ -898,14 +905,24 @@ class SessionCatalog(
     val nameToCurrentOrdinal = scala.collection.mutable.HashMap.empty[String, 
Int]

Review comment:
       [These 
lines](https://github.com/apache/spark/blob/1af7072fc27193f65caeb630f8229c8be89b57d3/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/catalog/SessionCatalog.scala#L873-L899)
 are not used if `isHiveCreatedView(metadata)` is true. Should these lines be 
moved into the `if-else` branch for non-Hive views?




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