Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up
Describe the bug
cannot support condition (a,b) in ((1,2),(3,4))
To Reproduce
Steps to reproduce the behavior:
SELECT
tenant_code AS tenantCode,
ta_code AS taCode,
fund_code AS fundCode,
fund_name AS fundName,
manager_code AS managerCode,
department_type AS departmentType
FROM
(
select * from biz_fund_info
WHERE tenant_code = ?
and (ta_code,manager_code) IN
(
(?,?)
)
union
select * from biz_fund_info
WHERE tenant_code = ?
and department_type IN
(
?
,
?
,
?
)
) a
Statement statement = CCJSqlParserUtil.parse(sql);
net.sf.jsqlparser.JSQLParserException: null
at net.sf.jsqlparser.parser.CCJSqlParserUtil.parse(CCJSqlParserUtil.java:51) ~[jsqlparser-3.1.jar:?]
at net.sf.jsqlparser.parser.CCJSqlParserUtil.parse(CCJSqlParserUtil.java:40) ~[jsqlparser-3.1.jar:?]
Expected behavior
parse successfully.
System
oracle/mysql
1.8
3.1