Commit 326e8c3
Unify DDL execution and dry-run into shared processCreate methods (#207)
* refactor: unify DDL execution and dry-run into shared processCreate* methods
Extract TemporaryTable to a standalone public class. Add DdlMode enum
(CREATE/UPDATE/SPECIFY), processCreateMaterializedView(), and
processCreateTable() to HoptimatorDdlUtils so HoptimatorDdlExecutor
fully delegates to them. Add specifyFromSql() and specifyCreateTable()
as the unified !specify entry points used by QuidemTestBase and
HoptimatorAppConfig.
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
* Increase coverage for modified files
---------
Co-authored-by: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>1 parent 7db5c2c commit 326e8c3
11 files changed
Lines changed: 2725 additions & 2009 deletions
File tree
- hoptimator-cli/src/main/java/sqlline
- hoptimator-jdbc/src
- main/java/com/linkedin/hoptimator/jdbc
- testFixtures/java/com/linkedin/hoptimator/jdbc
- test/java/com/linkedin/hoptimator/jdbc
- hoptimator-kafka/src/test/resources
Lines changed: 1 addition & 46 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | 3 | | |
6 | 4 | | |
7 | 5 | | |
| |||
278 | 276 | | |
279 | 277 | | |
280 | 278 | | |
281 | | - | |
282 | | - | |
283 | 279 | | |
284 | | - | |
285 | | - | |
286 | | - | |
287 | | - | |
288 | | - | |
289 | | - | |
290 | | - | |
291 | | - | |
292 | | - | |
293 | | - | |
294 | | - | |
295 | | - | |
296 | | - | |
297 | | - | |
298 | | - | |
299 | | - | |
300 | | - | |
301 | | - | |
302 | | - | |
303 | | - | |
304 | | - | |
305 | | - | |
306 | | - | |
307 | | - | |
308 | | - | |
309 | | - | |
310 | | - | |
311 | | - | |
312 | | - | |
313 | | - | |
314 | | - | |
315 | | - | |
316 | | - | |
317 | | - | |
318 | | - | |
319 | | - | |
| 280 | + | |
320 | 281 | | |
321 | 282 | | |
322 | 283 | | |
323 | 284 | | |
324 | 285 | | |
325 | | - | |
326 | | - | |
327 | | - | |
328 | | - | |
329 | | - | |
330 | | - | |
331 | 286 | | |
332 | 287 | | |
333 | 288 | | |
| |||
0 commit comments