sunchao commented on code in PR #40799:
URL: https://github.com/apache/spark/pull/40799#discussion_r1169247622
##########
sql/hive/src/main/scala/org/apache/spark/sql/hive/TableReader.scala:
##########
@@ -417,6 +417,7 @@ private[hive] object HiveTableUtil {
def configureJobPropertiesForStorageHandler(
tableDesc: TableDesc, conf: Configuration, input: Boolean): Unit = {
val property = tableDesc.getProperties.getProperty(META_TABLE_STORAGE)
+ if (property == null) { return }
Review Comment:
I don't get this, if `property` is null and we pass to
`HiveUtils.getStorageHandler`, wouldn't that simply just return `null` and the
rest of this method is skipped?
--
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]