Closed
Description
Many thanks to you all for building & maintaining JSQLParser!!!
Failing SQL Feature:
- the grammar defines 'UsersList' containing n 'RelObjectName'
- 'RelObjectName' in grammar diagram 5.2 does not explicitly include 'public'
- 'RelObjectName' allows 'RelObjectNameWithoutValue'
- 'RelObjectNameWithoutValue' allows 'S_IDENTIFIER' -- that would work
- yet, it naturally compares it to tokens first and rejects it
SQL Example:
- 'grant select on da380_now to public;'
- net.sf.jsqlparser.parser.ParseException: Encountered unexpected token: "public" "PUBLIC"
at line 1, column 30
Software Information:
- compiled with JSqlParser version 5.1
com.github.jsqlparserjsqlparser5.1 - postgresql does accept the statement
alternative attempt (add 'table' after 'on'):
- 'grant select on table nexpay_2_faa_tbl to public;'
- Encountered unexpected token: "nexpay_2_faa_v" <S_IDENTIFIER> at line 1, column 23
Metadata
Metadata
Assignees
Labels
No labels