Use 'table' on scripts and -c commands (#4377)

* Use 'table' on scripts and -c commands

* Fix tests

* Oops, missed a spot
This commit is contained in:
JT
2022-02-09 05:58:54 -05:00
committed by GitHub
parent 659da3c4a4
commit f9e1c4ef50
27 changed files with 125 additions and 77 deletions

View File

@ -62,7 +62,7 @@ fn from_json_text_recognizing_objects_independently_to_table() {
open katz.txt
| from json -o
| where name == "GorbyPuff"
| get rusty_luck
| get rusty_luck.0
"#
));
@ -90,7 +90,7 @@ fn table_to_json_text() {
| select name
| to json
| from json
| nth 0
| get 0
| get name
"#
));