You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@kyuubi.apache.org by "Karsonnel (via GitHub)" <gi...@apache.org> on 2023/04/18 08:19:57 UTC

[GitHub] [kyuubi] Karsonnel opened a new issue, #4728: [Bug] [Authz]Create view with select which no permission but success

Karsonnel opened a new issue, #4728:
URL: https://github.com/apache/kyuubi/issues/4728

   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   
   
   ### Search before asking
   
   - [X] I have searched in the [issues](https://github.com/apache/kyuubi/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### Describe the bug
   
   When i don't have permission to execute sql: `SELECT * FROM t1`,i still can execute the sql: `CREATE VIEW v1 AS SELECT * FROM t1`. 
   This bug only occurs in Spark versions before Spark 3.2. That's because before the spark pr [https://github.com/apache/spark/pull/32030](SPARK-34989) which let CreateViewStatement extends UnaryLike, a CreateViewStatement plan node won't analyze it's children plan until call the run method.
   
   ### Affects Version(s)
   
   master
   
   ### Kyuubi Server Log Output
   
   _No response_
   
   ### Kyuubi Engine Log Output
   
   _No response_
   
   ### Kyuubi Server Configurations
   
   _No response_
   
   ### Kyuubi Engine Configurations
   
   _No response_
   
   ### Additional context
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] Yes. I would be willing to submit a PR with guidance from the Kyuubi community to fix.
   - [ ] No. I cannot submit a PR at this time.


-- 
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: notifications-unsubscribe@kyuubi.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org


[GitHub] [kyuubi] Karsonnel closed issue #4728: [Bug] [Authz]Create view with select which no permission but success

Posted by "Karsonnel (via GitHub)" <gi...@apache.org>.
Karsonnel closed issue #4728: [Bug] [Authz]Create view with select which no permission but success
URL: https://github.com/apache/kyuubi/issues/4728


-- 
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: notifications-unsubscribe@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org