Skip to content

Commit efba135

Browse files
committed
fix test
1 parent 18c8122 commit efba135

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/snowflake/snowpark/_internal/type_utils.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,6 @@
107107
except ImportError:
108108
ResultMetadataV2 = ResultMetadata
109109

110-
_ICEBERG_MAX_STRING_SIZE = 134217728
111-
112110

113111
def convert_metadata_to_sp_type(
114112
metadata: Union[ResultMetadata, "ResultMetadataV2"],
@@ -346,7 +344,7 @@ def convert_sp_to_sf_type(
346344
# a dataframe from local data with all None values
347345
if isinstance(datatype, StringType):
348346
if is_iceberg:
349-
return f"STRING({_ICEBERG_MAX_STRING_SIZE})"
347+
return "STRING()"
350348
if datatype.length:
351349
return f"STRING({datatype.length})"
352350
return "STRING"

0 commit comments

Comments
 (0)