From f1f8f32d2d5a3fe6b5515cdf75c7a291dfb941db Mon Sep 17 00:00:00 2001 From: chenjian2664 Date: Thu, 29 May 2025 19:47:28 +0800 Subject: [PATCH] Align `createTableSql` with comment in `testCloseIdleWriters` Update `createTableSql` to match the intention described in the code comment within `testCloseIdleWriters` test --- .../java/io/trino/plugin/deltalake/TestCloseIdleWriters.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugin/trino-delta-lake/src/test/java/io/trino/plugin/deltalake/TestCloseIdleWriters.java b/plugin/trino-delta-lake/src/test/java/io/trino/plugin/deltalake/TestCloseIdleWriters.java index c9eb57f7699c..8a7013dca1f7 100644 --- a/plugin/trino-delta-lake/src/test/java/io/trino/plugin/deltalake/TestCloseIdleWriters.java +++ b/plugin/trino-delta-lake/src/test/java/io/trino/plugin/deltalake/TestCloseIdleWriters.java @@ -74,8 +74,7 @@ public void testCloseIdleWriters() comment, shipdate, CASE WHEN shipmode IN ('AIR', 'FOB', 'SHIP', 'TRUCK') THEN 0 - WHEN shipmode IN ('MAIL', 'RAIL', 'REG AIR') THEN 1 - ELSE 2 + ELSE 1 END AS shipmodeVal FROM tpch.tiny.lineitem ORDER BY shipmode