File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -947,7 +947,7 @@ def _parse_datatype_json_value(json_value):
947947
948948def _int_size_to_type (size ):
949949 """
950- Return the Scala type from the size of integers.
950+ Return the Catalyst datatype from the size of integers.
951951 """
952952 if size <= 8 :
953953 return ByteType
@@ -977,7 +977,7 @@ def _int_size_to_type(size):
977977
978978# compute array typecode mappings for unsigned integer types
979979for _typecode in _array_unsigned_int_typecode_ctype_mappings .keys ():
980- # JVM does not have unsigned types, so use signed types that is at list 1
980+ # JVM does not have unsigned types, so use signed types that is at least 1
981981 # bit larger to store
982982 size = ctypes .sizeof (_array_unsigned_int_typecode_ctype_mappings [_typecode ]) * 8 + 1
983983 dt = _int_size_to_type (size )
You can’t perform that action at this time.
0 commit comments