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

Input type not inferred correctly for block input #5904

Open
kubouch opened this issue Jun 28, 2022 · 0 comments
Open

Input type not inferred correctly for block input #5904

kubouch opened this issue Jun 28, 2022 · 0 comments
Labels
🐛 bug Something isn't working dataframe Work related to the polars dataframe implementation parser Issues related to parsing

Comments

@kubouch
Copy link
Contributor

kubouch commented Jun 28, 2022

Describe the bug

The input type is not passed into a block within a pipeline.

How to reproduce

> ls | into df | group-by name type
  LazyGroupBy   apply aggregation to complete execution plan

> ls | into df | if true { group-by name type }
Error: nu::parser::extra_positional (link)

  × Extra positional argument.
   ╭─[entry #5:1:1]
 1 │ ls | into df | if true { group-by name type }
   ·                                        ──┬─
   ·                                          ╰── extra positional argument
   ╰────
  help: Usage: group-by (grouper)

Expected behavior

Both should work

Screenshots

No response

Configuration

key value
version 0.64.1
branch master
commit_hash 533e04a
build_os linux-x86_64
build_target x86_64-unknown-linux-gnu
rust_version rustc 1.60.0 (7737e0b5c 2022-04-04)
rust_channel stable-x86_64-unknown-linux-gnu
cargo_version cargo 1.60.0 (d1fd9fe 2022-03-01)
pkg_version 0.64.1
build_time 2022-06-24 10:57:53 +03:00
build_rust_channel release
features database, dataframe, default, trash, which, zip
installed_plugins gstat

Additional context

No response

@kubouch kubouch added 🐛 bug Something isn't working parser Issues related to parsing dataframe Work related to the polars dataframe implementation labels Jun 28, 2022
@github-actions github-actions bot added the Stale label Jan 18, 2023
@132ikl 132ikl removed the Stale label Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working dataframe Work related to the polars dataframe implementation parser Issues related to parsing
Projects
None yet
Development

No branches or pull requests

2 participants