Maksim Zhuravkov created IGNITE-18785:
-----------------------------------------
Summary: Sql. Appending a NULL value in binary tuple builder with
disabled NULLs
Key: IGNITE-18785
URL: https://issues.apache.org/jira/browse/IGNITE-18785
Project: Ignite
Issue Type: Bug
Components: sql
Reporter: Maksim Zhuravkov
Fix For: 3.0.0-beta2
This error occurs in sql logic tests:
{code:java}
(test_big_insert.test:28). Statement: INSERT INTO integers VALUES (DEFAULT, 4);
{code}
{code:java}
Not expected result at: (left_join_issue_1172.test:77). Statement: insert into
t1 (id) values (1), (1), (DEFAULT);
{code}
{code:java}
Not expected result at: (test_big_insert.test:28). Statement: INSERT INTO
integers VALUES (DEFAULT, 4);
org.opentest4j.AssertionFailedError: Not expected result at:
(test_big_insert.test:28). Statement: INSERT INTO integers VALUES (DEFAULT, 4);
at
app//org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:43)
at app//org.junit.jupiter.api.Assertions.fail(Assertions.java:146)
at
app//org.apache.ignite.internal.sqllogic.Statement.execute(Statement.java:110)
at
app//org.apache.ignite.internal.sqllogic.SqlScriptRunner.run(SqlScriptRunner.java:70)
at
app//org.junit.jupiter.api.AssertTimeout.lambda$assertTimeoutPreemptively$2(AssertTimeout.java:102)
at
app//org.junit.jupiter.api.AssertTimeout.lambda$assertTimeoutPreemptively$4(AssertTimeout.java:138)
at
[email protected]/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at
[email protected]/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at
[email protected]/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at [email protected]/java.lang.Thread.run(Thread.java:829)
Caused by: org.apache.ignite.lang.IgniteException: IGN-CMN-65535
TraceId:6cd6e1a2-7872-4451-8230-73ce17c8ff34 IGN-CMN-65535
TraceId:6cd6e1a2-7872-4451-8230-73ce17c8ff34 Appending a NULL value in binary
tuple builder with disabled NULLs
at
jdk.internal.reflect.GeneratedConstructorAccessor26.newInstance(Unknown Source)
at
[email protected]/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at
[email protected]/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
at
app//org.apache.ignite.lang.IgniteException.wrap(IgniteException.java:277)
at app//org.apache.ignite.sql.Session.execute(Session.java:60)
at
app//org.apache.ignite.internal.sqllogic.ScriptContext.executeQuery(ScriptContext.java:89)
at
app//org.apache.ignite.internal.sqllogic.Statement.execute(Statement.java:108)
... 7 more
Caused by: org.apache.ignite.lang.IgniteException: IGN-CMN-65535
TraceId:6cd6e1a2-7872-4451-8230-73ce17c8ff34 Appending a NULL value in binary
tuple builder with disabled NULLs
at
app//org.apache.ignite.lang.IgniteException.wrap(IgniteException.java:289)
at
app//org.apache.ignite.internal.sql.engine.AsyncSqlCursorImpl.lambda$requestNextAsync$0(AsyncSqlCursorImpl.java:77)
at
[email protected]/java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:930)
at
[email protected]/java.util.concurrent.CompletableFuture$UniHandle.tryFire(CompletableFuture.java:907)
at
[email protected]/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506)
at
[email protected]/java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:2088)
at
app//org.apache.ignite.internal.sql.engine.exec.rel.AsyncRootNode.lambda$closeAsync$0(AsyncRootNode.java:157)
at
[email protected]/java.util.concurrent.ConcurrentLinkedQueue.forEachFrom(ConcurrentLinkedQueue.java:1037)
at
[email protected]/java.util.concurrent.ConcurrentLinkedQueue.forEach(ConcurrentLinkedQueue.java:1054)
at
app//org.apache.ignite.internal.sql.engine.exec.rel.AsyncRootNode.closeAsync(AsyncRootNode.java:157)
at
app//org.apache.ignite.internal.sql.engine.exec.rel.AsyncRootNode.onError(AsyncRootNode.java:112)
at
app//org.apache.ignite.internal.sql.engine.exec.rel.AbstractNode.onError(AbstractNode.java:140)
at
app//org.apache.ignite.internal.sql.engine.exec.rel.AbstractNode.onError(AbstractNode.java:140)
at
app//org.apache.ignite.internal.sql.engine.exec.rel.AbstractNode.onError(AbstractNode.java:140)
at
app//org.apache.ignite.internal.sql.engine.exec.ExecutionContext.lambda$execute$0(ExecutionContext.java:307)
at
app//org.apache.ignite.internal.sql.engine.exec.QueryTaskExecutorImpl.lambda$execute$0(QueryTaskExecutorImpl.java:80)
... 3 more
Caused by: java.lang.IllegalStateException: Appending a NULL value in binary
tuple builder with disabled NULLs
at
org.apache.ignite.internal.binarytuple.BinaryTupleBuilder.appendNull(BinaryTupleBuilder.java:123)
at
org.apache.ignite.internal.schema.row.RowAssembler.appendNull(RowAssembler.java:264)
at
org.apache.ignite.internal.schema.row.RowAssembler.writeValue(RowAssembler.java:112)
at
org.apache.ignite.internal.sql.engine.schema.IgniteTableImpl.insertTuple(IgniteTableImpl.java:343)
at
org.apache.ignite.internal.sql.engine.schema.IgniteTableImpl.toModifyRow(IgniteTableImpl.java:307)
{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)