Skip to content

GRANT statement not supported #965

@zhumaliev-rv

Description

@zhumaliev-rv

Describe the bug
GRANT statement not supported

To Reproduce
Steps to reproduce the behavior:

  1. GRANT SELECT ON Student TO P2
  2. Parsing this SQL using JSqlParser with this statements
  3. Encountered unexpected token: "GRANT" <S_IDENTIFIER>
    at line 1, column 1.

Was expecting one of:

"ALTER"
"CALL"
"COMMENT"
"COMMIT"
"DECLARE"
"DELETE"
"DESCRIBE"
"DROP"
"EXEC"
"EXECUTE"
"EXPLAIN"
"INSERT"
"MERGE"
"REPLACE"
"SET"
"SHOW"
"TRUNCATE"
"UPDATE"
"UPSERT"
"USE"
"VALUES"
"WITH"

'

Expected behavior
Must be processed

System

  • Oracle
  • 1.8
  • JSqlParser 3.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions