yaooqinn commented on code in PR #5584:
URL: https://github.com/apache/kyuubi/pull/5584#discussion_r1377732426


##########
extensions/spark/kyuubi-spark-authz/src/test/scala/org/apache/kyuubi/plugin/spark/authz/gen/TableCommands.scala:
##########
@@ -600,8 +600,49 @@ object TableCommands extends 
CommandSpecs[TableCommandSpec] {
     TableCommandSpec(cmd, Seq(tableDesc), ALTERTABLE_PROPERTIES)
   }
 
+  val FlatMapGroupsInPandas = {
+    val cmd = 
"org.apache.spark.sql.catalyst.plans.logical.FlatMapGroupsInPandas"
+    TableCommandSpec(cmd, Seq.empty, QUERY, queryDescs = 
Seq(QueryDesc("child")))
+  }
+
+  val MapInPandas = {
+    val cmd = "org.apache.spark.sql.catalyst.plans.logical.MapInPandas"
+    TableCommandSpec(cmd, Seq.empty, QUERY, queryDescs = 
Seq(QueryDesc("child")))

Review Comment:
   Have we already visited the child in buildQuery?



##########
extensions/spark/kyuubi-spark-authz/src/test/scala/org/apache/kyuubi/plugin/spark/authz/gen/TableCommands.scala:
##########
@@ -600,8 +600,49 @@ object TableCommands extends 
CommandSpecs[TableCommandSpec] {
     TableCommandSpec(cmd, Seq(tableDesc), ALTERTABLE_PROPERTIES)
   }
 
+  val FlatMapGroupsInPandas = {
+    val cmd = 
"org.apache.spark.sql.catalyst.plans.logical.FlatMapGroupsInPandas"
+    TableCommandSpec(cmd, Seq.empty, QUERY, queryDescs = 
Seq(QueryDesc("child")))
+  }
+
+  val MapInPandas = {
+    val cmd = "org.apache.spark.sql.catalyst.plans.logical.MapInPandas"
+    TableCommandSpec(cmd, Seq.empty, QUERY, queryDescs = 
Seq(QueryDesc("child")))

Review Comment:
   Have we already visited the child in buildQuery?



-- 
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]

Reply via email to