I have try to upload a CSV file into Bigquery using Google Cloud Client Library. In that one of the CSV file has 'null' text in the columns, while uploading the file Bigquery returns an error message saying "Too Few Columns".
Sample File Data:
column1, column2, column3, column4
1, null, 3, null,
2, null, null, null
I have verified the Configuration json sent, it has four Table fields for 4 columns. And error message says 'Expected 4 column(s) but got 2 column(s)'.
Is there any specfic configuration required to handle this scenario?