-
Notifications
You must be signed in to change notification settings - Fork 2.1k
select renames my columns #13359
Copy link
Copy link
Closed
Labels
category:bugSomething isn't workingSomething isn't workingsemanticsPlaces where we should define/clarify nushell's semanticsPlaces where we should define/clarify nushell's semantics
Milestone
Description
Describe the bug
Not sure if it's a bug or a deliberate behavior... Anyhow: When a column has a period in its name and I select said column, the period will be replaced with an underscore
How to reproduce
[[foo.bar test yadda]; [1 2 3]] | select "foo.bar" testwill result in a table:
╭───┬─────────┬──────╮
│ # │ foo_bar │ test │
├───┼─────────┼──────┤
│ 0 │ 1 │ 2 │
╰───┴─────────┴──────╯
please notice the "foo_bar" column (instead of "foo.bar")
Expected behavior
The output I expected would have looked like this:
╭───┬─────────┬──────╮
│ # │ foo.bar │ test │
├───┼─────────┼──────┤
│ 0 │ 1 │ 2 │
╰───┴─────────┴──────╯
Screenshots
No response
Configuration
| key | value |
|---|---|
| version | 0.94.2 |
| major | 0 |
| minor | 94 |
| patch | 2 |
| branch | |
| commit_hash | |
| build_os | linux-x86_64 |
| build_target | x86_64-unknown-linux-gnu |
| rust_version | rustc 1.78.0 (9b00956e5 2024-04-29) (gentoo) |
| cargo_version | cargo 1.78.0 |
| build_time | 2024-06-05 16:16:58 +02:00 |
| build_rust_channel | release |
| allocator | mimalloc |
| features | default, sqlite, system-clipboard, trash, which |
| installed_plugins | bin_reader |
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
category:bugSomething isn't workingSomething isn't workingsemanticsPlaces where we should define/clarify nushell's semanticsPlaces where we should define/clarify nushell's semantics