Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.36.0
Description
Processing of DEFAULT expression was improved in scope of [1] but seems there is one case with NULL as value is not covered and processed erroneously.
create table tdef1 (i int not null, col1 int default null); insert into tdef1(i, col1) values (1, DEFAULT);
throws :
Error while executing SQL "insert into tdef1(i, col1) values (1, DEFAULT)": class org.apache.calcite.sql.SqlLiteral: NULL
Attachments
Issue Links
- incorporates
-
CALCITE-6129 SqlToRelConverter throws an exception when converting a NULL SqlLiteral
-
- Closed
-
- links to