Files
nushell/crates/nu-command/src
hardfault e9b677a9e9 fix compact to handle empty list or record in column (#15213)
If a table contains an empty list or record in one column and both column
and -e flags are used, then skip that row.

`compact -e` now skips empty values in a column where as before they were
ignored. Example:

 ```nu
[["a", "b"]; ["c", "d"], ["h", []]] 
| compact -e b
```
before

```plain
 #   a         b
────────────────────────
 0   c   d
 1   h   [list 0 items]
```
after
```plain
 #   a   b
───────────
 0   c   d
```
2025-03-01 07:47:55 -05:00
..
2024-11-29 21:24:17 +00:00
2025-01-28 16:03:31 -06:00
2025-01-07 07:37:51 +08:00
2025-02-03 06:33:23 -06:00
2025-02-25 12:09:52 -05:00
2025-02-25 12:09:52 -05:00
2025-02-12 20:03:40 -08:00
2025-02-12 20:03:40 -08:00
2025-02-04 10:49:35 -05:00
2025-01-28 16:03:31 -06:00
2025-02-25 12:09:52 -05:00
2025-01-28 16:03:31 -06:00
2025-02-25 12:09:52 -05:00