Skip to content

Commit

Permalink
tmp fix the parquest IT
Browse files Browse the repository at this point in the history
  • Loading branch information
RemHero committed Jan 13, 2023
1 parent f797a68 commit 2a0af95
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,15 +95,15 @@ private void testCapacityExpansion() throws Exception {
statement = "select * from test";
expect =
"ResultSets:\n"
+ "+---+--------------+-----------+-----------+-----------------+------------+--------------+\n"
+ "|key|test.cpu_usage|test.engine|test.status|test.us.cpu_usage|test.us.desc|test.us.engine|\n"
+ "+---+--------------+-----------+-----------+-----------------+------------+--------------+\n"
+ "| 1| 12.3| 1| normal| null| null| null|\n"
+ "| 2| 23.1| 2| normal| null| null| null|\n"
+ "| 10| null| null| null| 12.1| normal| 1|\n"
+ "| 11| null| null| null| 32.2| normal| 2|\n"
+ "| 12| null| null| null| 66.8| high| 3|\n"
+ "+---+--------------+-----------+-----------+-----------------+------------+--------------+\n"
+ "+---+-----------------+--------------+--------------+-----------------+------------+--------------+\n"
+ "|key|test.cpu_usage.in|test.engine.in|test.status.in|test.us.cpu_usage|test.us.desc|test.us.engine|\n"
+ "+---+-----------------+--------------+--------------+-----------------+------------+--------------+\n"
+ "| 1| 12.3| 1| normal| null| null| null|\n"
+ "| 2| 23.1| 2| normal| null| null| null|\n"
+ "| 10| null| null| null| 12.1| normal| 1|\n"
+ "| 11| null| null| null| 32.2| normal| 2|\n"
+ "| 12| null| null| null| 66.8| high| 3|\n"
+ "+---+-----------------+--------------+--------------+-----------------+------------+--------------+\n"
+ "Total line number = 5\n";
SQLTestTools.executeAndCompare(session, statement, expect);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ public void writeHistoryData() throws SQLException, IOException {
fail();
}

String tableName = "test";
stmt.execute(String.format("CREATE TABLE %s (time BIGINT, cpu_usage DOUBLE, engine INTEGER, status VARCHAR);", tableName));
String tableName = "tmp";
stmt.execute(String.format("CREATE TABLE %s (time BIGINT, cpu_usage.in DOUBLE, engine.in INTEGER, status.in VARCHAR);", tableName));
stmt.execute(String.format(
"INSERT INTO %s VALUES "
+ "(1, 12.3, 1, 'normal'), "
Expand Down

0 comments on commit 2a0af95

Please sign in to comment.