You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@kyuubi.apache.org by "AngersZhuuuu (via GitHub)" <gi...@apache.org> on 2023/10/18 06:22:05 UTC
Re: [PR] [KYUUBI #5452][AUTHZ] Support Compaction tablerelated command [kyuubi]
AngersZhuuuu commented on code in PR #5454:
URL: https://github.com/apache/kyuubi/pull/5454#discussion_r1363299384
##########
extensions/spark/kyuubi-spark-authz/src/test/scala/org/apache/kyuubi/plugin/spark/authz/gen/HudiCommands.scala:
##########
@@ -127,6 +127,28 @@ object HudiCommands {
TableCommandSpec(cmd, Seq(tableDesc), TRUNCATETABLE)
}
+ val CompactionHoodieTableCommand = {
+ val cmd = "org.apache.spark.sql.hudi.command.CompactionHoodieTableCommand"
+ val tableDesc = TableDesc("table", classOf[CatalogTableTableExtractor])
+ TableCommandSpec(cmd, Seq(tableDesc, tableDesc.copy(isInput = true)), CREATETABLE)
+ }
+
+ val CompactionHoodiePathCommand = {
+ val cmd = "org.apache.spark.sql.hudi.command.CompactionHoodiePathCommand"
+ TableCommandSpec(cmd, Seq.empty, CREATETABLE)
Review Comment:
> Maybe ignoring path based table first? There's another issue for path-based table #5368. We can align the processing way there.
Yea, will remain a sub task for compaction path
--
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: notifications-unsubscribe@kyuubi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org