kbendick commented on issue #3541:
URL: https://github.com/apache/iceberg/issues/3541#issuecomment-972457529


   > Thanks for your reply, the cascade logic is handled by 
`DropNamespaceExec`, I updated issue description.
   
   Appreciate the update.
   
   Unfortunately, there's not really presently a way to access whether or not 
the user has set CASCADE in the query based on the interfaces that Spark 
provides.
   
   Spark gives us essentially the same `SupportsNamespaces` interfaces, and 
`dropNamespace` only provides access to the `Namespace` that the user passed.
   
   Our code (at least in the HiveCatalog) simply implements the interface Spark 
provides, which doesn't provide access to whether or not the `CASCADE` flag is 
set.


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