File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1437,7 +1437,7 @@ def make_synapse_table(self,
14371437
14381438 if col in table_schema_by_cname :
14391439 col_type = table_schema_by_cname [col ]['columnType' ]
1440- max_size = table_schema_by_cname [col ]['maximumSize' ]
1440+ max_size = table_schema_by_cname [col ]['maximumSize' ] if 'maximumSize' in table_schema_by_cname [ col ]. keys () else 100
14411441 max_list_len = 250
14421442 if max_size and max_list_len :
14431443 cols .append (Column (name = col , columnType = col_type ,
@@ -1487,7 +1487,7 @@ def make_synapse_table(self,
14871487 for col in table_to_load .columns :
14881488 if col in table_schema_by_cname :
14891489 col_type = table_schema_by_cname [col ]['columnType' ]
1490- max_size = table_schema_by_cname [col ]['maximumSize' ]
1490+ max_size = table_schema_by_cname [col ]['maximumSize' ] if 'maximumSize' in table_schema_by_cname [ col ]. keys () else 100
14911491 max_list_len = 250
14921492 if max_size and max_list_len :
14931493 cols .append (Column (name = col , columnType = col_type ,
You can’t perform that action at this time.
0 commit comments