File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1059,8 +1059,14 @@ def test_convert_sp_to_sf_type():
10591059 assert convert_sp_to_sf_type (DoubleType ()) == "DOUBLE"
10601060 assert convert_sp_to_sf_type (StringType ()) == "STRING"
10611061 assert convert_sp_to_sf_type (StringType (77 )) == "STRING(77)"
1062- assert convert_sp_to_sf_type (StringType (), is_iceberg = True ) == "STRING(134217728)"
1063- assert convert_sp_to_sf_type (StringType (77 ), is_iceberg = True ) == "STRING(134217728)"
1062+ assert (
1063+ convert_sp_to_sf_type (StringType (), use_128mb_string_for_iceberg = True )
1064+ == "STRING(134217728)"
1065+ )
1066+ assert (
1067+ convert_sp_to_sf_type (StringType (77 ), use_128mb_string_for_iceberg = True )
1068+ == "STRING(134217728)"
1069+ )
10641070 assert convert_sp_to_sf_type (NullType ()) == "STRING"
10651071 assert convert_sp_to_sf_type (BooleanType ()) == "BOOLEAN"
10661072 assert convert_sp_to_sf_type (DateType ()) == "DATE"
You can’t perform that action at this time.
0 commit comments