viirya commented on a change in pull request #27548: [SPARK-30797][SQL] Set 
tradition user/group/other permission to ACL entries when setting up ACLs in 
truncate table
URL: https://github.com/apache/spark/pull/27548#discussion_r378521363
 
 

 ##########
 File path: 
sql/core/src/main/scala/org/apache/spark/sql/execution/command/tables.scala
 ##########
 @@ -538,12 +539,25 @@ case class TruncateTableCommand(
               }
             }
             optAcls.foreach { acls =>
+              val aclEntries = acls.asScala.filter(_.getName != null).asJava
 
 Review comment:
   I'm not sure. For the failed case of our customer, there is no default ACLs 
so causing this issue. I think we should not assume it always has it.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to