Fix Spark backend _Equal function for variable-length octet strings