cloud-fan commented on a change in pull request #34241:
URL: https://github.com/apache/spark/pull/34241#discussion_r735703871
##########
File path:
sql/hive/src/main/scala/org/apache/spark/sql/hive/client/HiveClientImpl.scala
##########
@@ -786,6 +800,9 @@ private[hive] class HiveClientImpl(
} catch {
case _: UnsupportedOperationException =>
// Fallback to filter logic if getTablesByType not supported.
+ // Since Spark can't know if it will throw exception when call
shim.getTablesByType(),
+ // here Spark update hive client calls once.
Review comment:
```suggestion
// here we need to make an extra Hive client call.
```
--
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]