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.
2 parents 27d817e + 2cd2b22 commit ffe5f44Copy full SHA for ffe5f44
csvkit/sql.py
@@ -39,8 +39,8 @@ def make_column(column, no_constraints=False):
39
if column.type in column_types:
40
sql_column_type = column_types[column.type]
41
elif column.type is int:
42
- column_max = max([v for v in column if v is not None])
43
- column_min = min([v for v in column if v is not None])
+ column_max = max(v for v in column if v is not None)
+ column_min = min(v for v in column if v is not None)
44
45
if column_max > SQL_INTEGER_MAX or column_min < SQL_INTEGER_MIN:
46
sql_column_type = BigInteger
0 commit comments