Skip to content

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

Closed

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

Activity

  1. added
    status:needs-triage
    on Nov 16, 2025
  2. blindFS commented on Nov 17, 2025

    @blindFS
    Contributor

    Do you mean it bisects to #17026?

  3. sgvictorino commented on Nov 17, 2025

    @sgvictorino
    Contributor

    It bisects to #16912. I think PipelineData::is_subtype_of is missing a match arm for Type::OneOf.

  4. added this to the v0.109.0 milestone on Nov 22, 2025
  5. added a commit that references this issue on Nov 22, 2025
    48d63df
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

    status:needs-triage

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions