WKTReader and JtsShapeFactory are not serializable and cannot be created outside the call method. Initializing these classes within the call method may(or not) potentially impact performance. Extending or wrapping them into serializable classes did not work, and neither did Spark broadcasting or wrapping with broadcasting features
WKTReader and JtsShapeFactory are not serializable and cannot be created outside the call method. Initializing these classes within the call method may(or not) potentially impact performance. Extending or wrapping them into serializable classes did not work, and neither did Spark broadcasting or wrapping with broadcasting features