I have regular imports going to BigQuery via CSV which work fine.
The CSV file format is:
[1st line] - header = column names which match exactly the column names in the BigQuery table I am importing to
[rest of the lines] = the data
However, the order of the columns in my CSV has recently changed and when importing to BigQuery - the column names in CSV are not matched to column names in BigQuery table. They get basically imported in the order of the CSV columns which is wrong.
Is there a way to tell BigQuery which column from my CSV goes to which column in BigQuery table?
I am using the official PHP library.