┌──────┬────────┬──────────────┐
│ keys ┆ values ┆ values_2 │
│ --- ┆ --- ┆ --- │
│ str ┆ i32 ┆ i32 │
╞══════╪════════╪══════════════╡
│ a ┆ 10 ┆ 10 │
│ b ┆ 7 ┆ 7 │
│ c ┆ 1 ┆ 1 │
└──────┴────────┴──────────────┘
i found that the code in https://github.com/pola-rs/polars/blob/rs-0.36.2/crates/polars-lazy/src/frame/mod.rs#L1231 just ignore the suffix of join_args. I made some changes shown below, it gives me the expected result. is it a valid solution?
Checks
[X] I have checked that this issue has not already been reported.
[X] I have confirmed this bug exists on the latest version of Polars.
Reproducible example
Log output
No response
Issue description
the result dataframe is
┌──────┬────────┬──────────────┐ │ keys ┆ values ┆ values_right │ │ --- ┆ --- ┆ --- │ │ str ┆ i32 ┆ i32 │ ╞══════╪════════╪══════════════╡ │ a ┆ 10 ┆ 10 │ │ b ┆ 7 ┆ 7 │ │ c ┆ 1 ┆ 1 │ └──────┴────────┴──────────────┘
Expected behavior
the expected output should be
┌──────┬────────┬──────────────┐ │ keys ┆ values ┆ values_2 │ │ --- ┆ --- ┆ --- │ │ str ┆ i32 ┆ i32 │ ╞══════╪════════╪══════════════╡ │ a ┆ 10 ┆ 10 │ │ b ┆ 7 ┆ 7 │ │ c ┆ 1 ┆ 1 │ └──────┴────────┴──────────────┘ i found that the code in https://github.com/pola-rs/polars/blob/rs-0.36.2/crates/polars-lazy/src/frame/mod.rs#L1231 just ignore the suffix of join_args. I made some changes shown below, it gives me the expected result. is it a valid solution?
to
Installed versions
polars = {version = "0.36.2", features = ["lazy", "rank", "strings", "lazy_regex", "concat_str", "dtype-struct"]}