Skip to content

validate not support 'not rlike' #1553

Closed
@guandatawangjialin

Description

@guandatawangjialin
    String sql = "select * from test where id  not rlike '111'";

ValidationError [
statement=select * from test where id not rlike '111'
capability=parsing
errors=[ParseException: Cannot parse statement: Encountered unexpected token: "not" "NOT"
at line 1, column 30.

Was expecting one of:

"&"
"&&"
"::"
";"
"<<"
">>"
"AND"
"AT"
"COLLATE"
"CONNECT"
"FOR"
"GROUP"
"HAVING"
"OR"
"START"
"XOR"
"["
"^"
"|"
<EOF>

]
]

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