maropu commented on a change in pull request #26775: [SPARK-30018][SQL] Support 
ALTER DATABASE SET OWNER syntax
URL: https://github.com/apache/spark/pull/26775#discussion_r355230601
 
 

 ##########
 File path: 
sql/catalyst/src/main/java/org/apache/spark/sql/connector/catalog/SupportsNamespaces.java
 ##########
 @@ -64,9 +64,27 @@
   String PROP_OWNER_TYPE = "ownerType";
 
   /**
-   * The list of reserved namespace properties.
+   * The list of namespace ownership properties, cannot be used in `CREATE` 
syntax.
+   *
+   * Only support in:
+   *
 
 Review comment:
   How about just saying like this? We need to mention CREATE syntax here?
   ```
      * The list of namespace ownership properties, which can be used in 
`ALTER` syntax:
      *
      * {{
      *   ALTER (DATABASE|SCHEMA|NAMESPACE) SET OWNER ...
      * }}
   ```

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