diff --git a/presto-iceberg/src/test/java/com/facebook/presto/iceberg/IcebergDistributedSmokeTestBase.java b/presto-iceberg/src/test/java/com/facebook/presto/iceberg/IcebergDistributedSmokeTestBase.java index 09b157da244e7..074a36e43ebb8 100644 --- a/presto-iceberg/src/test/java/com/facebook/presto/iceberg/IcebergDistributedSmokeTestBase.java +++ b/presto-iceberg/src/test/java/com/facebook/presto/iceberg/IcebergDistributedSmokeTestBase.java @@ -1079,14 +1079,11 @@ private void testSelectOrPartitionedByTime(boolean partitioned, FileFormat forma assertQuery(format("SELECT COUNT(*) FROM %s", tableName), "SELECT 2"); assertQuery(format("SELECT x FROM %s WHERE y = 12345", tableName), "SELECT CAST('10:12:34' AS TIME)"); assertQuery(format("SELECT x FROM %s WHERE y = 67890", tableName), "SELECT CAST('9:00:00' AS TIME)"); - assertQuery(format("SELECT x FROM %s ORDER BY x LIMIT 1", tableName), "SELECT CAST('9:00:00' AS TIME)"); assertUpdate(format("INSERT INTO %s VALUES (TIME '10:12:34', 54321)", tableName), 1); assertQuery( format("SELECT x, COUNT(*) FROM %s GROUP BY x ORDER BY x", tableName), "SELECT CAST('9:00:00' AS TIME), 1 UNION ALL SELECT CAST('10:12:34' AS TIME), 2"); - assertQuery( - format("SELECT y FROM %s WHERE x = time '10:12:34'", tableName), - "values 12345, 54321"); + assertQuery(format("SELECT y FROM %s WHERE x = time '10:12:34'", tableName), "values 12345, 54321"); } finally { dropTable(getSession(), tableName);