|
36 | 36 | import org.apache.calcite.schema.SchemaPlus; |
37 | 37 | import org.junit.jupiter.api.AfterEach; |
38 | 38 | import org.junit.jupiter.api.BeforeEach; |
| 39 | +import org.junit.jupiter.api.Tag; |
39 | 40 | import org.junit.jupiter.api.Test; |
40 | 41 | import org.junit.jupiter.api.io.TempDir; |
41 | 42 | import org.locationtech.jts.geom.Coordinate; |
@@ -110,6 +111,7 @@ void tearDown() throws Exception { |
110 | 111 | FileUtils.deleteRecursively(Paths.get("options_table_as").toFile()); |
111 | 112 | FileUtils.deleteRecursively(Paths.get("new_table").toFile()); |
112 | 113 | FileUtils.deleteRecursively(Paths.get("city_view").toFile()); |
| 114 | + FileUtils.deleteRecursively(Paths.get("city_population").toFile()); |
113 | 115 | FileUtils.deleteRecursively(Paths.get("test_table").toFile()); |
114 | 116 | } |
115 | 117 |
|
@@ -176,6 +178,7 @@ private void populateTestData() { |
176 | 178 | } |
177 | 179 |
|
178 | 180 | @Test |
| 181 | + @Tag("integration") |
179 | 182 | void testMaterializedView() throws SQLException { |
180 | 183 | // Set up test data |
181 | 184 | populateTestData(); |
@@ -240,6 +243,7 @@ void testMaterializedView() throws SQLException { |
240 | 243 | } |
241 | 244 |
|
242 | 245 | @Test |
| 246 | + @Tag("integration") |
243 | 247 | void testCreateAndDropTable() throws SQLException { |
244 | 248 | // Set up test data |
245 | 249 | populateTestData(); |
@@ -293,6 +297,7 @@ void testCreateAndDropTable() throws SQLException { |
293 | 297 | } |
294 | 298 |
|
295 | 299 | @Test |
| 300 | + @Tag("integration") |
296 | 301 | void testCreateAndDropView() throws SQLException { |
297 | 302 | // Set up test data |
298 | 303 | populateTestData(); |
@@ -362,6 +367,7 @@ void testCreateAndDropView() throws SQLException { |
362 | 367 | } |
363 | 368 |
|
364 | 369 | @Test |
| 370 | + @Tag("integration") |
365 | 371 | void testTruncateTable() throws SQLException { |
366 | 372 | // Set up test data |
367 | 373 | populateTestData(); |
@@ -402,6 +408,7 @@ void testTruncateTable() throws SQLException { |
402 | 408 | } |
403 | 409 |
|
404 | 410 | @Test |
| 411 | + @Tag("integration") |
405 | 412 | void testCreateTableWithOptions() throws SQLException { |
406 | 413 | // Set up test data |
407 | 414 | populateTestData(); |
|
0 commit comments