nushell/crates/nu-command/tests
Ian Manske 33a7bc405f
Refactor drop columns to fix issues (#10903)
# Description
This PR refactors `drop columns` and fixes issues #10902 and #6846.
Tables with "holes" are now handled consistently, although still
somewhat awkwardly. That is, the columns in the first row are used to
determine which columns to drop, meaning that the columns displayed all
the way to the right by `table` may not be the columns actually being
dropped. For example, `[{a: 1}, {b: 2}] | drop column` will drop column
`a` instead of `b`. Before, this would give a list of empty records.

# User-Facing Changes
`drop columns` can now take records as input.
2023-11-09 13:51:46 +01:00
..
commands Refactor drop columns to fix issues (#10903) 2023-11-09 13:51:46 +01:00
format_conversions Disallow duplicated columns in table literals (#10875) 2023-11-01 21:25:35 +01:00
main.rs Rename misused "deprecation" to removal (#10000) 2023-08-15 07:17:31 +12:00