Skip to content

Hive DELETE/UPDATE/MERGE on ACID/transactional tables produces incorrect results #15187

@findepi

Description

@findepi

https://github.com/trinodb/trino/actions/runs/3541969763/jobs/5948031373

2022-11-24T18:22:07.9630199Z tests               | 2022-11-25 00:07:07 INFO: FAILURE     /    io.trino.tests.product.hive.TestHiveMerge.testMergeUpdateWithVariousLayouts [true, ] (Groups: hive_transactional) took 5.2 seconds
2022-11-24T18:22:07.9645101Z tests               | 2022-11-25 00:07:07 SEVERE: Failure cause:
2022-11-24T18:22:07.9645609Z tests               | java.lang.AssertionError: [onTrino] Expected row count to be <3>, but was <4>; rows=[[Joe, jellybeans], [Dave, dates], [Joe, jellybeans], [Carol_Craig, candles]]
2022-11-24T18:22:07.9646265Z tests               | 	at io.trino.tests.product.hive.TestHiveTransactionalTable.verifySelect(TestHiveTransactionalTable.java:2236)
2022-11-24T18:22:07.9647023Z tests               | 	at io.trino.tests.product.hive.TestHiveTransactionalTable.verifySelectForTrinoAndHive(TestHiveTransactionalTable.java:2226)
2022-11-24T18:22:07.9647731Z tests               | 	at io.trino.tests.product.hive.TestHiveMerge.lambda$testMergeUpdateWithVariousLayouts$4(TestHiveMerge.java:128)
2022-11-24T18:22:07.9648325Z tests               | 	at io.trino.tests.product.hive.TestHiveMerge.withTemporaryTable(TestHiveMerge.java:764)
2022-11-24T18:22:07.9648922Z tests               | 	at io.trino.tests.product.hive.TestHiveMerge.lambda$testMergeUpdateWithVariousLayouts$5(TestHiveMerge.java:116)
2022-11-24T18:22:07.9649498Z tests               | 	at io.trino.tests.product.hive.TestHiveMerge.withTemporaryTable(TestHiveMerge.java:764)
2022-11-24T18:22:07.9650099Z tests               | 	at io.trino.tests.product.hive.TestHiveMerge.testMergeUpdateWithVariousLayouts(TestHiveMerge.java:100)
2022-11-24T18:22:07.9650905Z tests               | 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2022-11-24T18:22:07.9651463Z tests               | 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
2022-11-24T18:22:07.9652153Z tests               | 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2022-11-24T18:22:07.9652670Z tests               | 	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
2022-11-24T18:22:07.9653176Z tests               | 	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:104)
2022-11-24T18:22:07.9653847Z tests               | 	at org.testng.internal.InvokeMethodRunnable.runOne(InvokeMethodRunnable.java:54)
2022-11-24T18:22:07.9654359Z tests               | 	at org.testng.internal.InvokeMethodRunnable.run(InvokeMethodRunnable.java:44)
2022-11-24T18:22:07.9654842Z tests               | 	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
2022-11-24T18:22:07.9655299Z tests               | 	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
2022-11-24T18:22:07.9655805Z tests               | 	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
2022-11-24T18:22:07.9656341Z tests               | 	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
2022-11-24T18:22:07.9656779Z tests               | 	at java.base/java.lang.Thread.run(Thread.java:833)
2022-11-24T18:22:07.9657055Z tests               | 

cc @djsstarburst

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions