You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
the "update" command provides wrong $in in subtables #15726
It is my understanding that when update command works through cells, the input to the closure should be the value of the current cell. This does not seem to be the case when the table is not on the top level.
How to reproduce
With a simple table, update works as expected:
[ { y: "1" } { y: "2" } ] | update y { into float } | to yaml
produces
- y: 1.0
- y: 2.0
However, when the same table is buried deeper into the structure, it is different.
Activity
fdncred commentedon May 14, 2026
I took a swing at fixing this here #18205. Please review and let me know if it fixes the issue.
Fix nested update closure for table columns (nushell#18205)