Github user windpiger commented on the issue:

    https://github.com/apache/spark/pull/16672
  
    In hive:
    1. read a table with non-existing path, no exception and return 0 rows
    2. read a table with non-permission path, throw runtime exception
    ```
    FAILED: SemanticException org.apache.hadoop.hive.ql.metadata.HiveException: 
Unable to determine if hdfs:/tmp/noownerpermission is encrypted: 
org.apache.hadoop.security.AccessControlException: Permission denied: 
user=test, access=READ, inode="/tmp/noownerpermission":hadoop:hadoop:drwxr-x--x
        at 
org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.check(FSPermissionChecker.java:320)
    
    ```
     
    3. write to a non-exist path ,it will create it and insert data to it, 
everything is ok
    
    4. write to a non-permission path, it will throw an exception
    
    5.  alter table set location to a non-permission path, it is ok



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

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

Reply via email to