Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix missing column with select #4475

Closed
sophiajt opened this issue Feb 15, 2022 · 0 comments · Fixed by #4792
Closed

Fix missing column with select #4475

sophiajt opened this issue Feb 15, 2022 · 0 comments · Fixed by #4792
Labels
🐛 bug Something isn't working
Milestone

Comments

@sophiajt
Copy link
Contributor

Describe the bug

ls | select bar
╭────┬───────────────────────────────────────────────────────╮
│ #  │                          bar                          │
├────┼───────────────────────────────────────────────────────┤
│  0 │ DidYouMean("name", Span { start: 15971, end: 15974 }) │
│  1 │ DidYouMean("name", Span { start: 15971, end: 15974 }) │
│  2 │ DidYouMean("name", Span { start: 15971, end: 15974 }) │
│  3 │ DidYouMean("name", Span { start: 15971, end: 15974 }) │
│  4 │ DidYouMean("name", Span { start: 15971, end: 15974 }) │
│  5 │ DidYouMean("name", Span { start: 15971, end: 15974 }) │
│  6 │ DidYouMean("name", Span { start: 15971, end: 15974 }) │
│  7 │ DidYouMean("name", Span { start: 15971, end: 15974 }) │
│  8 │ DidYouMean("name", Span { start: 15971, end: 15974 }) │
│  9 │ DidYouMean("name", Span { start: 15971, end: 15974 }) │
│ 10 │ DidYouMean("name", Span { start: 15971, end: 15974 }) │
│ 11 │ DidYouMean("name", Span { start: 15971, end: 15974 }) │
│ 12 │ DidYouMean("name", Span { start: 15971, end: 15974 }) │
│ 13 │ DidYouMean("name", Span { start: 15971, end: 15974 }) │
│ 14 │ DidYouMean("name", Span { start: 15971, end: 15974 }) │
│ 15 │ DidYouMean("name", Span { start: 15971, end: 15974 }) │
│ 16 │ DidYouMean("name", Span { start: 15971, end: 15974 }) │
│ 17 │ DidYouMean("name", Span { start: 15971, end: 15974 }) │
│ 18 │ DidYouMean("name", Span { start: 15971, end: 15974 }) │
│ 19 │ DidYouMean("name", Span { start: 15971, end: 15974 }) │
├────┼───────────────────────────────────────────────────────┤
│ #  │                          bar                          │
╰────┴───────────────────────────────────────────────────────╯

How to reproduce

  1. ls | select foo

Expected behavior

A good error message about the column not being found

Screenshots

No response

Configuration

key value
version 0.59.0
branch main
short_commit 85d1a68
commit_hash 85d1a68
commit_date 2022-02-11 19:26:36 +00:00
build_os linux-x86_64
rust_version rustc 1.58.0 (02072b482 2022-01-11)
rust_channel stable-x86_64-unknown-linux-gnu
cargo_version cargo 1.58.0 (7f08ace4f 2021-11-24)
pkg_version 0.59.0
build_time 2022-02-11 14:58:01 -05:00
build_rust_channel release
features dataframe, default, trash, which, zip
installed_plugins gstat, inc, query, query json, query web, query xml

Additional context

No response

@onthebridgetonowhere onthebridgetonowhere added the 🐛 bug Something isn't working label Feb 16, 2022
@hustcer hustcer added the 0.60 label Mar 4, 2022
@hustcer hustcer added this to the v0.60.0 milestone Mar 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants