Skip to content

Commit dbd866a

Browse files
committed
refactor: consolidate HoptimatorDdlExecutor tests into single test class
Merged HoptimatorDdlExecutorDdlTest and HoptimatorDdlExecutorMockServiceTest into HoptimatorDdlExecutorTest, removing duplicate helpers and the redundant testDdlExecutorWithWritableConnection assertion.
1 parent 5b99a5c commit dbd866a

4 files changed

Lines changed: 1100 additions & 1228 deletions

File tree

hoptimator-jdbc/src/main/java/com/linkedin/hoptimator/jdbc/HoptimatorDdlUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,7 @@ public static List<String> specifyFromSql(String sql, HoptimatorConnection conn)
608608
}
609609

610610
if (sqlNode.getKind().belongsTo(SqlKind.DDL)) {
611-
throw new SQLException("Unsupported DDL statement for !specify: " + sql);
611+
throw new SQLException("Unsupported DDL statement: " + sql);
612612
}
613613

614614
// Plain SELECT / INSERT INTO path.

0 commit comments

Comments
 (0)