Fix test of scalar correlated subquery
Previously test was testing correlated table subquery, while test method name
suggests we should test correlated scalar subquery here.
@@ -7047,7 +7047,7 @@ public abstract class AbstractTestQueries
assertQueryFails("SELECT * FROM lineitem l WHERE 1 = (SELECT (SELECT 2 * l.orderkey))", errorMsg);
// explicit limit in subquery
- assertQueryFails("SELECT (SELECT count(*) FROM (SELECT * FROM (values (7,1)) t(orderkey, value) WHERE orderkey = corr_key LIMIT 1)) FROM (values 7) t(corr_key)", errorMsg);
+ assertQueryFails("SELECT (SELECT count(*) FROM (VALUES (7,1)) t(orderkey, value) WHERE orderkey = corr_key LIMIT 1) FROM (values 7) t(corr_key)", errorMsg);
}
@Test
