We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0defc75 commit 5d61d3dCopy full SHA for 5d61d3d
src/snowflake/snowpark/_internal/type_utils.py
@@ -307,10 +307,7 @@ def convert_sf_to_sp_type(
307
if column_type_name == "REAL":
308
return DoubleType()
309
if (column_type_name == "FIXED" or column_type_name == "NUMBER") and scale == 0:
310
- if context._store_precision_and_scale_in_numeric_type:
311
- return LongType(precision=precision, scale=scale)
312
- else:
313
- return LongType()
+ return LongType(precision=precision, scale=scale)
314
raise NotImplementedError(
315
"Unsupported type: {}, precision: {}, scale: {}".format(
316
column_type_name, precision, scale
0 commit comments