Getting an Error on loading a large CSV into bigquery. Everywhere I read online I see that there is a 5gb size limit on zipped files but no limits on CSV.
BigQuery error in load operation: Error processing job 'bqjob_r3016bbfad3037f_0000015cea1a1eff_1': Input CSV files are not splittable and at least one of the files is larger than the maximum allowed size. Size is: 24686861596. Max allowed size is: 4294967296.
BigQuery documentation lists various limits for import jobs here: https://cloud.google.com/bigquery/quota-policy#import In particular it notes, that the limit of compressed CSV file is 4 GBs.
The error message about "not splittable" CSV file can come in two cases:
Try this:
bq help load
:This will import each CSV line to a one column table. Split afterwards within BigQuery (with
REGEXP_EXTRACT()
,SPLIT()
, or JavaScript UDF).