pan3793 commented on code in PR #7123:
URL: https://github.com/apache/kyuubi/pull/7123#discussion_r2185685534
##########
extensions/spark/kyuubi-spark-connector-hive/src/main/scala/org/apache/kyuubi/spark/connector/hive/HiveTable.scala:
##########
@@ -59,6 +61,20 @@ case class HiveTable(
catalogTable.stats.map(_.sizeInBytes.toLong).getOrElse(defaultTableSize))
}
+ lazy val finalTableType: Option[String] = {
+ val serde =
catalogTable.storage.serde.getOrElse("").toLowerCase(Locale.ROOT)
+ val parquet = serde.contains("parquet")
+ val orc = serde.contains("orc")
+ val provider = catalogTable.provider.map(_.toUpperCase(Locale.ROOT))
+ if (orc | provider.contains("ORC")) {
Review Comment:
I then you mean `||` instead of `|`
--
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]