Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3569,7 +3569,7 @@ public void testExplainPlanQueryV2()
// needed because both OfflineClusterIntegrationTest and MultiNodesOfflineClusterIntegrationTest run this test
// case with different number of documents in the segment.
response1 = response1.replaceAll("docs:[0-9]+", "docs:*")
.replaceAll("Time: \\d+\\.\\d+", "Time:*");
.replaceAll("Time: \\d+\\.\\d+(?:[eE][-+]?\\d+)?", "Time:*");

JsonNode response1Json = JsonUtils.stringToJsonNode(response1);
assertEquals(response1Json.get("dataSchema").get("columnNames").get(0).asText(), "SQL");
Expand Down Expand Up @@ -3605,7 +3605,7 @@ public void testExplainPlanQueryV2()
// language=sql
String query2 = "EXPLAIN PLAN WITHOUT IMPLEMENTATION FOR SELECT * FROM mytable WHERE FlightNum < 0";
String response2 = postQuery(query2).get("resultTable").toString()
.replaceAll("Time: \\d+\\.\\d+", "Time: *");
.replaceAll("Time: \\d+\\.\\d+(?:[eE][-+]?\\d+)?", "Time: *");

JsonNode response2Json = JsonUtils.stringToJsonNode(response2);
assertEquals(response2Json.get("dataSchema").get("columnNames").get(0).asText(), "SQL");
Expand Down
Loading