Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.14.0, 1.15.0, 1.16.0
Description
It appears that subqueries are not supported in DML statements.
The yield in a NPE.
Respective testcase is disabled with reference to CALCITE-1527.
@Ignore("CALCITE-1527") @Test public void testUpdateSubQuery() { final String sql = "update emp\n" + "set empno = (\n" + " select min(empno) from emp as e where e.deptno = emp.deptno)"; sql(sql).ok(); }
Attachments
Issue Links
- causes
-
CALCITE-3186 IN expressions in UPDATE statements throws Exceptions
- Closed
- is related to
-
CALCITE-1527 Support DML in the JDBC adapter
- Closed
- links to