Skip to content

Commit

Permalink
dtype unknown for decimal
Browse files Browse the repository at this point in the history
  • Loading branch information
EdAbati committed Dec 3, 2024
1 parent dac5901 commit 6d67b0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion narwhals/_spark_like/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def native_to_narwhals_dtype(
if isinstance(dtype, pyspark_types.ByteType):
return dtypes.Int8()
if isinstance(dtype, pyspark_types.DecimalType):
return dtypes.Int32()
return dtypes.Unknown()
string_types = [
pyspark_types.StringType,
pyspark_types.VarcharType,
Expand Down

0 comments on commit 6d67b0c

Please sign in to comment.