You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CREATETABLEtest (id int, part int) using delta partitioned by (part) TBLPROPERTIES ('delta.enableDeletionVectors'= true);
INSERT INTO test VALUES (1,1), (2,1);
DELETEFROM test WHERE id =1;
SELECT*FROM test;
21
Read the table on Trino:
TABLE delta.default.test;
id | part
----+------
(0 rows)
Also, it may throw an exception in some situation:
io.trino.spi.TrinoException: Index 1 out of bounds for length 1
at io.trino.plugin.deltalake.DeltaLakePageSource.getNextPage(DeltaLakePageSource.java:206)
at io.trino.operator.TableScanOperator.getOutput(TableScanOperator.java:291)
at io.trino.operator.Driver.processInternal(Driver.java:395)
at io.trino.operator.Driver.lambda$process$8(Driver.java:298)
at io.trino.operator.Driver.tryWithLock(Driver.java:701)
at io.trino.operator.Driver.process(Driver.java:290)
at io.trino.operator.Driver.processForDuration(Driver.java:261)
at io.trino.execution.SqlTaskExecution$DriverSplitRunner.processFor(SqlTaskExecution.java:887)
at io.trino.execution.executor.timesharing.PrioritizedSplitRunner.process(PrioritizedSplitRunner.java:187)
at io.trino.execution.executor.timesharing.TimeSharingTaskExecutor$TaskRunner.run(TimeSharingTaskExecutor.java:565)
at io.trino.$gen.Trino_xxx____20240417_154334_2.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
The text was updated successfully, but these errors were encountered:
ebyhr
changed the title
Deletion vector with partitioned table returns incorrect results
Deletion vector with partitioned table returns incorrect results in Delta Lake connector
Apr 29, 2024
Steps to create a table on Spark:
Read the table on Trino:
Also, it may throw an exception in some situation:
The text was updated successfully, but these errors were encountered: