[ 
https://issues.apache.org/jira/browse/HIVE-2074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jonathan Natkins resolved HIVE-2074.
------------------------------------

    Resolution: Won't Fix

Quoting the group name allows this to work properly.

GRANT ALL ON DATABASE default TO GROUP `p-sdo-data`; 

> The grant opration can't analyse string cantains "-"
> ----------------------------------------------------
>
>                 Key: HIVE-2074
>                 URL: https://issues.apache.org/jira/browse/HIVE-2074
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor, Security
>    Affects Versions: 0.7.0
>            Reporter: Aaron Guo
>            Priority: Minor
>
> We have a group named 'p-sdo-data', and we want to do this opration:
> hive> GRANT ALL ON DATABASE default TO GROUP p-sdo-data;  
> FAILED: Parse Error: line 1:40 mismatched input '-' expecting EOF

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to