mirror of
https://github.com/nushell/nushell
synced 2024-12-25 12:33:17 +00:00
support table literal syntax in join
right-table argument (#14190)
# Description Makes `join` `right-table` support table literal notation instead of parsing the column list (treated as empty data): ```diff [{a: 1}] | join [[a]; [1]] a | to nuon -[] +[[a]; [1]] ``` Fixes #13537, fixes #14134
This commit is contained in:
parent
6cdc9e3b77
commit
9083157baa
2 changed files with 1 additions and 2 deletions
|
@ -29,7 +29,7 @@ impl Command for Join {
|
|||
Signature::build("join")
|
||||
.required(
|
||||
"right-table",
|
||||
SyntaxShape::List(Box::new(SyntaxShape::Any)),
|
||||
SyntaxShape::Table([].into()),
|
||||
"The right table in the join.",
|
||||
)
|
||||
.required(
|
||||
|
|
|
@ -355,7 +355,6 @@ fn do_cases_where_result_differs_between_join_types_with_different_join_keys(joi
|
|||
}
|
||||
}
|
||||
|
||||
#[ignore]
|
||||
#[test]
|
||||
fn test_alternative_table_syntax() {
|
||||
let join_type = "--inner";
|
||||
|
|
Loading…
Reference in a new issue