Skip to content

Commit 7334a54

Browse files
committed
Update right join USING unit test
1 parent b002319 commit 7334a54

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/execution/dql/join/nested_loop_join.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1178,7 +1178,7 @@ mod test {
11781178
}
11791179

11801180
#[test]
1181-
fn test_right_join_using_keeps_left_visible_column_binding() -> Result<(), DatabaseError> {
1181+
fn test_right_join_using_binds_visible_column_to_right_side() -> Result<(), DatabaseError> {
11821182
let temp_dir = TempDir::new().expect("unable to create temporary working directory");
11831183
let db = DataBaseBuilder::path(temp_dir.path()).build_in_memory()?;
11841184

@@ -1216,9 +1216,9 @@ mod test {
12161216
Some("A".to_string()),
12171217
Some("A".to_string())
12181218
],
1219-
vec![None, None, Some("B".to_string())],
1220-
vec![None, None, Some("C".to_string())],
1221-
vec![None, None, Some("E".to_string())],
1219+
vec![Some("B".to_string()), None, Some("B".to_string())],
1220+
vec![Some("C".to_string()), None, Some("C".to_string())],
1221+
vec![Some("E".to_string()), None, Some("E".to_string())],
12221222
]
12231223
);
12241224

0 commit comments

Comments
 (0)