Closed lmeyerov closed 7 years ago
Hey Can you send me the error raised by your code?
Ok thanks to your issue I have detected a bug in .union.
Indeed it has the normal behaviour, it checks if the 2 dataframes and if they haven't it throws an exception. BUT if the 2 dataframes have the same schema (same columnNames) but not in the same order, it doesn't throw an exception but the result is wrong. Waiting a hotfix (this night) you can quickly fix it by applying a b2.restructure(a2.listColumns()) to reorder the columns.
I will work on it.
I hope this is related with your issue.
@lmeyerov The hotfix 1.1.2 resolves the column order bug on .union(). Please confirm me that your problem is solved. Thanks
@lmeyerov Any news on your issue? Is it solved by the version 1.1.2?
When a.union(b) is called and a, b have distinct column names, I'd expect the concat to still work, while currently, it triggers an exception.
In the interim, I'm wrapping with: