I am trying to load 7MB dump.sql file to bigquery using the following command:
while read -r q; do bq query --destination_table '[project].[table]' --allow_large_results "$q" done < <(grep '^INSERT' dump.sql);
But i get this error, " bash: /usr/bin/bq: Argument list too long " what could be the solution for the same? Kindly help .