New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue merging on multiple columns #2304
Comments
Maybe @pdet can have a look when he's awake again? |
The issue here is that the data frames that are being joined have columns with the same name, so the id_1 agedate we see in the result from duckdb are actually from df2. @Pankick Meanwhile, a workaround for this issue is projecting the columns you want. e.g., SELECT df1.id_1, df1.agedate ,age,v,v2 from df1
LEFT OUTER JOIN df2
ON (df1.id_1=df2.id_1 and df1.agedate=df2.agedate) |
…om the query result have the same name and are being fetched to a pandas df
Unsolicited triage bot here: It seems this can be closed? @pdet |
Looks like it, thanks for pointing it out! :-) |
Issue
When merging two data frames on multiple columns, the result is wrong.
This issue was caught on merging two large parquet data, but is reproducible with small samples below:
'0.2.9'
Results when merging with Pandas:
Results when merging with duckdb:
The text was updated successfully, but these errors were encountered: