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:
Solomon
2024-10-29 05:37:44 -06:00
committed by GitHub
parent 6cdc9e3b77
commit 9083157baa
2 changed files with 1 additions and 2 deletions

View File

@ -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(