Prasad Mujumdar created SENTRY-338:
--------------------------------------
Summary: Sentry policy import tool adds non-compatible comments to
grant privilege statements
Key: SENTRY-338
URL: https://issues.apache.org/jira/browse/SENTRY-338
Project: Sentry
Issue Type: Bug
Affects Versions: 1.4.0
Reporter: Prasad Mujumdar
Fix For: 1.4.0
The policy file to SQL tool generates grant statements with inline comments
prefixed with '#'.
For example,
{noformat}
GRANT ALL ON TABLE tab1 TO ROLE junior_analyst_role; # server=server1,
database=default
{noformat}
Beeline doesn't support that syntax and fails to execute the script.
--
This message was sent by Atlassian JIRA
(v6.2#6252)