Add AUTODETECT_SIZE_LIMIT option when importing CSVs

pull/16431/head
Moisés Calzado 2 years ago
parent ae6c629792
commit 081212ca45

@ -180,6 +180,7 @@ module CartoDB
# Inverse of the selection: if I want guessing I must NOT leave quoted fields as string
[
'-oo', 'AUTODETECT_TYPE=YES',
'-oo', 'AUTODETECT_SIZE_LIMIT=20000000',
'-oo', "QUOTED_FIELDS_AS_STRING=#{quoted_fields_guessing ? 'NO' : 'YES'}"
] + x_y_possible_names_option + ['-s_srs', 'EPSG:4326', '-t_srs', 'EPSG:4326']
end

Loading…
Cancel
Save