Skip to content

Commit 1c94863

Browse files
committed
Replace CTE with subquery (correct terminology)
1 parent 8f172a4 commit 1c94863

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/sqlancer/postgres/oracle/tlp/PostgresTLPBase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ protected ExpressionGenerator<PostgresExpression> getGen() {
7272
return gen;
7373
}
7474

75-
public static PostgresCTE createCTE(PostgresGlobalState globalState, PostgresTables tables) {
75+
public static PostgresCTE createSubquery(PostgresGlobalState globalState, PostgresTables tables) {
7676
PostgresExpressionGenerator gen = new PostgresExpressionGenerator(globalState).setColumns(tables.getColumns());
7777
PostgresSelect selectCTE = new PostgresSelect();
7878
selectCTE.setFromList(tables.getTables().stream().map(t -> new PostgresFromTable(t, Randomly.getBoolean()))

0 commit comments

Comments
 (0)