NullPointerException while assertDataFrameEquals
belgacea opened this issue · 1 comments
belgacea commented
I try to unit test dataframe equality using spark-testing-base, but I get a NullPointerException
when I use assertDataFrameEquals
. I don't understand why because I'm able to show the content of both dataframes before the assertion. Anyone know what I'm missing ?
Logs
belgacea commented
I finally find out that the problem came from the input data. I noticed that the csv were completely malformed, in addition to the fact that I should store them in the resource package instead of hard coding them... My bad 😓