### Describe the bug  Cell paths are able to drill into nested tables in an unexpected way. ### How to reproduce 1. Create a table nested in a list: `[ [{ foo: "bar" }] ]` 2. Use a cell path for a column in the nested table: `[ [{ foo: "bar" }] ] | get foo` or `[ [{ foo: "bar" }] ].foo` 3. Observe that you get a result instead of an error ### Expected behavior I expected Nu to return a `ShellError`, or maybe `Nothing`. IMO drilling into columns of nested tables automatically is very unexpected behaviour. ### Screenshots _No response_ ### Configuration | key | value | | ------------------ | ---------------------------------------- | | version | 0.72.2 | | branch | main | | commit_hash | 5b5f1d1b92f0adf5ca235e850aed0d92c44ce88e | | build_os | linux-x86_64 | | build_target | x86_64-unknown-linux-gnu | | rust_version | rustc 1.65.0 (897e37553 2022-11-02) | | rust_channel | 1.65.0-x86_64-unknown-linux-gnu | | cargo_version | cargo 1.65.0 (4bc8f24d3 2022-10-20) | | pkg_version | 0.72.2 | | build_time | 2022-12-12 14:57:49 -08:00 | | build_rust_channel | release | | features | database, default, trash, which, zip | | installed_plugins | | ### Additional context _No response_
Activity
stormasm commentedon Dec 16, 2022
However this is the correct behavior and is currently working fine...
ensure `get` doesn't delve too deep in nested lists (#7497)