kbendick commented on issue #3541: URL: https://github.com/apache/iceberg/issues/3541#issuecomment-972301903
Ok. On further inspection, it seems that the V2SessionCatalog falls back to the V1 definition `DropDatabaseExec`: https://github.com/apache/spark/blob/8ab9d6327d7db20a4257f9fe6d0b17919576be5e/sql/core/src/main/scala/org/apache/spark/sql/catalyst/analysis/ResolveSessionCatalog.scala#L254-L255 So we'd likely have to inject our own analyzer rule, or get that information exposed upstream in Spark (having Spark expose it being the better choice but longer task): https://github.com/apache/spark/blob/4df40ead99f07b87e3207c9d18c1b4f1f92a3b86/sql/core/src/main/scala/org/apache/spark/sql/internal/BaseSessionStateBuilder.scala#L182-L190 -- 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]
