Skip to content

Commit

Permalink
[INLONG-10489][Sort] Optimize Mongodb2StarRocksTest in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
XiaoYou201 committed Jun 22, 2024
1 parent 55e8b6d commit fbe0f38
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,9 @@ public void setup() {

public static void initializeStarRocksTable() {
try (Connection conn =
DriverManager.getConnection(STAR_ROCKS.getJdbcUrl(), STAR_ROCKS.getUsername(),
STAR_ROCKS.getPassword());
Statement stat = conn.createStatement()) {
DriverManager.getConnection(STAR_ROCKS.getJdbcUrl(), STAR_ROCKS.getUsername(),
STAR_ROCKS.getPassword());
Statement stat = conn.createStatement()) {
stat.execute("CREATE TABLE IF NOT EXISTS test_output1 (\n"
+ " _id INT NOT NULL,\n"
+ " name VARCHAR(255) NOT NULL DEFAULT 'flink',\n"
Expand Down

0 comments on commit fbe0f38

Please sign in to comment.