Skip to content

select does not work correct with duplicate column #2985

Closed

Description

@djvsrose

****** consider the following case
ls | count
17

ls | select name modified | count
17

ls | select name modified name | count. => duplicate name column here
34 => the count should still be 17 not 34

0 │ version │ 0.26.0
1 │ build_os │ macos-x86_64
2 │ rust_version │ rustc 1.49.0
3 │ cargo_version │ cargo 1.49.0
4 │ pkg_version │ 0.26.0
5 │ build_time │ 2021-01-27 21:21:53
6 │ build_rust_channel │ release
7 │ features │ ctrlc, default, directories, dirs, ichwh, ptree, rustyline, term, uuid, which, zip
───┴────────────────────┴────────────────────────────────────────────────────────────────────────────────────

Activity

  1. andrasio commented on Feb 7, 2021

    @andrasio
    Member

    Fixed. Thanks for reporting it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions