Github user vanzin commented on the issue:

    https://github.com/apache/spark/pull/21398
  
    I'm kinda neutral on what should happen, except maybe for filing a Sentry 
bug. I'll let @cloud-fan decide whether this makes sense in Spark.
    
    For the Sentry bug, there's an easy way to reproduce this, just run the 
following (either in Spark or using the old Hive CLI - not beeline nor jdbc):
    
    ```
    USE some_db;
    CREATE TABLE foo(idx int) LOCATION 
'hdfs://blah.example.com/user/hive/warehouse/some_db.db/foo';
    ```
    
    Even if the user has permissions to create table on that database, Sentry 
will not allow it. Works fine if you remove the explicit location.


---

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

Reply via email to