Serge Rielau created SPARK-55964:
------------------------------------

             Summary: By default, prevent shadowing of system schemas.
                 Key: SPARK-55964
                 URL: https://issues.apache.org/jira/browse/SPARK-55964
             Project: Spark
          Issue Type: Improvement
          Components: Spark Core
    Affects Versions: 4.2.0
            Reporter: Serge Rielau


With the introduction of SYSTEM.BUILTIN and SYSTEM.SESSION to allow 
qualification fo routines and relations we are now faced with the dilema that, 
there can be persisted schemas with name SESSION and BUILTIN.
For security it is desirable that e.g. builtin.current_user() resolves to 
system.builtin.current_user() and not a potentially malicious 
main.builtin.current_user().

Here we will, by default ensure the desired order of SYSTEM catalog first, 
while providing a config to change it back.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to