You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "jiaan.geng (Jira)" <ji...@apache.org> on 2021/11/12 16:07:00 UTC
[jira] [Updated] (SPARK-37266) View text can only be SELECT queries
[ https://issues.apache.org/jira/browse/SPARK-37266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
jiaan.geng updated SPARK-37266:
-------------------------------
Summary: View text can only be SELECT queries (was: Optimize the analysis for view text of persistent view and fix security vulnerabilities caused by sql tampering )
> View text can only be SELECT queries
> ------------------------------------
>
> Key: SPARK-37266
> URL: https://issues.apache.org/jira/browse/SPARK-37266
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 3.3.0
> Reporter: jiaan.geng
> Priority: Major
>
> The current implementation of persistent view is create hive table with view text.
> The view text is just a query string, so the hackers may tamper with it through various means.
> Such as:
> {code:java}
> select * from tab1
> {code}
> tampered with
>
> {code:java}
> drop table tab1
> {code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org