Description
HoodieSparkSqlWriter have some common code paths for write and delete paths. When I added support for deletes, it wasn't easy to have common code paths due to HoodieWriteClient having generic type in java and scala expected to declare the type.