Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kudu MERGE error while delete between two CTAS table #16848

Closed
chenjian2664 opened this issue Apr 3, 2023 · 2 comments · Fixed by #16850
Closed

Kudu MERGE error while delete between two CTAS table #16848

chenjian2664 opened this issue Apr 3, 2023 · 2 comments · Fixed by #16850
Assignees
Labels
bug Something isn't working

Comments

@chenjian2664
Copy link
Contributor

reproduce:

CREATE t1 AS SELECT * FROM (VALUES (1,'a') AS t(id, name);
CREATE t2 AS SELECT * FROM (VALUES (1,'a') AS t(id, name);

DELETE FROM t1 WHERE id IN (SELECT id FROM t2)

encountered:
java.lang.IllegalArgumentException: The page size should be 2 + columnCount (3), but is 4
	at com.google.common.base.Preconditions.checkArgument(Preconditions.java:299)
	at io.trino.plugin.kudu.KuduPageSink.storeMergedRows(KuduPageSink.java:210)
	at io.trino.operator.MergeWriterOperator.addInput(MergeWriterOperator.java:148)
	at io.trino.operator.Driver.processInternal(Driver.java:407)
	at io.trino.operator.Driver.lambda$process$8(Driver.java:305)
	at io.trino.operator.Driver.tryWithLock(Driver.java:701)
	at io.trino.operator.Driver.process(Driver.java:297)
	at io.trino.operator.Driver.processForDuration(Driver.java:268)
	at io.trino.execution.SqlTaskExecution$DriverSplitRunner.processFor(SqlTaskExecution.java:845)
	at io.trino.execution.executor.PrioritizedSplitRunner.process(PrioritizedSplitRunner.java:165)
	at io.trino.execution.executor.TaskExecutor$TaskRunner.run(TaskExecutor.java:537)
@ebyhr
Copy link
Member

ebyhr commented Apr 3, 2023

correctness label is used when the query returned or wrote incorrect results. We don't use it if the query failed.

@chenjian2664
Copy link
Contributor Author

Got it,thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

Successfully merging a pull request may close this issue.

2 participants