Skip to content

oneof<list<any>> in IO types rejects a list stream #17031

@weirdan

Description

@weirdan

Bug report form

  • I have done a basic search of the issue tracker to find any existing issues that are similar.
  • I have checked that my version is at least the latest stable release available via my installation method.

Describe the bug

def f []: [oneof<list<any>,bool> -> any] {}
ls | f

fails, while

def f []: [oneof<list<any>,bool> -> any] {}
ls | collect | f

is ok (note the collect call).

Both of those work on 0.108.1, but not on 644da8b

How to reproduce

See above

Expected behavior

I expect list streams to be accepted, as well as lists

Configuration

key value
version 0.108.1
major 0
minor 108
patch 1
branch main
commit_hash 644da8b
build_os linux-x86_64
build_target x86_64-unknown-linux-gnu
rust_version rustc 1.89.0 (29483883e 2025-08-04)
rust_channel 1.89.0-x86_64-unknown-linux-gnu
cargo_version cargo 1.89.0 (c24e10642 2025-06-23)
build_time 2025-11-16 22:55:25 +01:00
build_rust_channel debug
allocator standard
features default, network, plugin, rustls-tls, sqlite, trash-support
installed_plugins formats 0.108.0, gstat 0.108.0, inc 0.108.0, plotters 0.1.5+0.103.0, polars 0.108.0, query 0.108.0
experimental_options example=false, reorder-cell-paths=true, pipefail=false, enforce-runtime-annotations=false

Metadata

Metadata

Assignees

No one assigned

    Labels

    status:needs-triageAn issue that hasn't had any proper look

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions