Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
BugFix in Adapter.toDF when creating a DataFrame from a ShapeFile #331
Is this PR related to a proposed Issue?
What changes were proposed in this PR?
When using Adapter.toDF in order to create a DataFrame from a shapeFile, a bug can occur. If the *.dbf has at least one row with the last field empty, the bug will occur.
How was this patch tested?
A new unitary test called "Read shapefileWithMissing -> DataFrame" has been created on file "adapterTestScala.scala". A specific ShapeFile has been created to spot the bug.
Did this PR include necessary documentation updates?
Not sure. Maybe not.