dongjoon-hyun 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_r378506393
 
 

 ##########
 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:
   Usually, `directory` has default ACL configuration and the new directory 
inherits from the parent and builds its own default ACL, doesn't 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