sangetang opened a new issue, #49202:
URL: https://github.com/apache/doris/issues/49202

   ### Search before asking
   
   - [x] I had searched in the 
[issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Version
   
   2.1.8-1
   
   ### What's Wrong?
   
   New user query hive catalog access denied
   
   
   
   ### What You Expected?
   
   User query "SELECT * FROM hive.cdm_abite.dim_spu limit 20" is ok!
   
   ### How to Reproduce?
   
   1.  CREATE CATALOG hive PROPERTIES (
   
     "type"="hms",
     "hive.metastore.type" = "dlf",
     "dlf.proxy.mode" = "DLF_ONLY",
     "dlf.endpoint" = "dlf-vpc.cn-beijing.aliyuncs.com",
     "dlf.region" = "cn-beijing",
   ...
   2. CREATE USER test@'%' IDENTIFIED BY 'test123';
   3. GRANT SELECT_PRIV ON hive.cdm_abite.*  TO 'test'@'%';
   4.  [user test] SWITCH hive
   5. USE cdm_abite; Err: errCode = 2, detailMessage = Access denied for user 
'test' to database 'cdm_abite'
   6. [user root] SWITCH hive 
   7. "SELECT * FROM hive.cdm_abite.dim_spu limit 20" is ok!
   
   
   ### Anything Else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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: commits-unsubscr...@doris.apache.org.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to