last left-on expression shows up as "literal" column in join output #9621
Labels
accepted
Ready for implementation
bug
Something isn't working
needs triage
Awaiting prioritization by a maintainer
python
Related to Python Polars
Polars version checks
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of Polars.
Issue description
When a
join
occurs with expressions in theleft_on
, the last expression gets added to the dataframe as"literal"
. Because we are not allowed to alias these expressions, it doesn't make sense to include them in the final output, and because all expressions default toliteral
, only one of the expressions ends up in the dataframe, and you are unable to choose which.Reproducible example
Expected behavior
literal
column should not be inserted into resulting dataframe.Installed versions
The text was updated successfully, but these errors were encountered: