Skip to content

Commit 6f0d7d5

Browse files
committed
fix
1 parent 4759a8a commit 6f0d7d5

File tree

1 file changed

+2
-2
lines changed
  • src/query/service/tests/it/sql/planner/format

1 file changed

+2
-2
lines changed

src/query/service/tests/it/sql/planner/format/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,9 +202,9 @@ fn test_format() {
202202

203203
let tree = s_expr.to_format_tree(&metadata_ref);
204204
let result = tree.format_indent().unwrap();
205-
let expect = "HashJoin: INNER\n equi conditions: [col2 (#1) eq plus(col1 (#0), 123_u64)]\n non-equi conditions: []\n Filter\n filters: [true]\n LogicalGet\n table: catalog.database.table\n filters: []\n order by: []\n limit: NONE\n LogicalGet\n table: catalog.database.table\n filters: []\n order by: []\n limit: NONE\n";
205+
let expect = "HashJoin: INNER\n equi conditions: [col2 (#1) eq plus(col1 (#0), 123)]\n non-equi conditions: []\n Filter\n filters: [true]\n LogicalGet\n table: catalog.database.table\n filters: []\n order by: []\n limit: NONE\n LogicalGet\n table: catalog.database.table\n filters: []\n order by: []\n limit: NONE\n";
206206
assert_eq!(result.as_str(), expect);
207207
let pretty_result = tree.format_pretty().unwrap();
208-
let pretty_expect = "HashJoin: INNER\n├── equi conditions: [col2 (#1) eq plus(col1 (#0), 123_u64)]\n├── non-equi conditions: []\n├── Filter\n│ ├── filters: [true]\n│ └── LogicalGet\n│ ├── table: catalog.database.table\n│ ├── filters: []\n│ ├── order by: []\n│ └── limit: NONE\n└── LogicalGet\n ├── table: catalog.database.table\n ├── filters: []\n ├── order by: []\n └── limit: NONE\n";
208+
let pretty_expect = "HashJoin: INNER\n├── equi conditions: [col2 (#1) eq plus(col1 (#0), 123)]\n├── non-equi conditions: []\n├── Filter\n│ ├── filters: [true]\n│ └── LogicalGet\n│ ├── table: catalog.database.table\n│ ├── filters: []\n│ ├── order by: []\n│ └── limit: NONE\n└── LogicalGet\n ├── table: catalog.database.table\n ├── filters: []\n ├── order by: []\n └── limit: NONE\n";
209209
assert_eq!(pretty_result.as_str(), pretty_expect);
210210
}

0 commit comments

Comments
 (0)