-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Description
Describe the bug
I'm using JSQLParser on my project and having issues parsing connect_by_root query. Parser is failing.
To Reproduce
Steps to reproduce the behavior:
-
" SELECT CONNECT_BY_ROOT last_name as name, salary FROM employees WHERE department_id = 110 CONNECT BY PRIOR employee_id = manager_id";
-
Parsing this SQL using JSqlParser with this statements
@test
public void testOracleHierarchicalQuery1442() throws JSQLParserException {
String sql = "SELECT CONNECT_BY_ROOT last_name as name, salary FROM employees WHERE department_id = 110 CONNECT BY PRIOR employee_id = manager_id";
validateNoErrors(sql, 1, DatabaseType.ORACLE);
} -
Exception
Expected behavior
A clear and concise description of what you expected to happen.
System
- Oracle 11g
- 8
- JSqlParser version - 4.1
Metadata
Metadata
Assignees
Labels
No labels