Skip to content

Commit

Permalink
Fix typo in serializer exception
Browse files Browse the repository at this point in the history
  • Loading branch information
rberenguel committed Jun 14, 2018
1 parent 534065e commit bd8627c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/pyspark/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,7 @@ def loads(self, obj):
elif _type == b'P':
return pickle.loads(obj[1:])
else:
raise ValueError("invalid sevialization type: %s" % _type)
raise ValueError("invalid serialization type: %s" % _type)


class CompressedSerializer(FramedSerializer):
Expand Down

0 comments on commit bd8627c

Please sign in to comment.