leesf commented on a change in pull request #4436:
URL: https://github.com/apache/hudi/pull/4436#discussion_r775464994
##########
File path:
hudi-spark-datasource/hudi-spark/src/main/scala/org/apache/spark/sql/catalyst/catalog/HoodieCatalogTable.scala
##########
@@ -148,6 +148,11 @@ class HoodieCatalogTable(val spark: SparkSession, val
table: CatalogTable) exten
*/
def getAllPartitionPaths: Seq[String] =
HoodieSqlUtils.getAllPartitionPaths(spark, table)
+ /**
+ * Check table is PartitionTable
+ */
+ def isPartitionTable: Boolean = table.partitionColumnNames.nonEmpty
Review comment:
isPartitionedTable
--
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]