File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/query/service/tests/it/sql/planner/format Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments