We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 18c8122 commit efba135Copy full SHA for efba135
1 file changed
src/snowflake/snowpark/_internal/type_utils.py
@@ -107,8 +107,6 @@
107
except ImportError:
108
ResultMetadataV2 = ResultMetadata
109
110
-_ICEBERG_MAX_STRING_SIZE = 134217728
111
-
112
113
def convert_metadata_to_sp_type(
114
metadata: Union[ResultMetadata, "ResultMetadataV2"],
@@ -346,7 +344,7 @@ def convert_sp_to_sf_type(
346
344
# a dataframe from local data with all None values
347
345
if isinstance(datatype, StringType):
348
if is_iceberg:
349
- return f"STRING({_ICEBERG_MAX_STRING_SIZE})"
+ return "STRING()"
350
if datatype.length:
351
return f"STRING({datatype.length})"
352
return "STRING"
0 commit comments