Skip to content

pl.Expr.meta.has_multiple_outputs() is broken on main #23708

@kszlim

Description

@kszlim

Checks

  • I have checked that this issue has not already been reported.
  • I have confirmed this bug exists on the latest version of Polars.

Reproducible example

import polars as pl

struct_col = pl.col("struct")

out = struct_col.struct[0] - struct_col.struct[1]
out = out.alias("output")
print(out.meta.output_name(), out.meta.has_multiple_outputs())

Log output

output True

Issue description

It should print:

output False

Expected behavior

It should print:

output False

Installed versions

On this commit e99abdc

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds triageAwaiting prioritization by a maintainerpythonRelated to Python Polars

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions