yaooqinn commented on issue #26775: [SPARK-30018][SQL] Support ALTER DATABASE SET OWNER syntax URL: https://github.com/apache/spark/pull/26775#issuecomment-563073181 For DataSource API developers: Exposes defaultOwner/OwnerType in `SupportsNamespaces` to defined the catalog default ownership. By default, we use our `sparkUser` as default owner and `USER` as default ownerType. This should be considered as how the developers define `authentication`. A bit similar with Hive's `HiveAuthenticationProvider `. Currently, we use this only in `CreateNamespaceExec` to define the default ownership. When we support `authorization`, these can be used in privilege checking for queries, commands etc.. For end users: We don't allow user to set ownership or location or comment in create syntax, the ownership should be inherited from the catalog impl, and the comment and location should from the specific clauses. Also modifying these properties need specific commands.
---------------------------------------------------------------- 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]
