Load csv file in BQ - too many positional arguments
I tried loading a sample data file [csv] into BQ. Since the CSV has a header, I wanted to skip the first line, Below is the code
load prodtest.prod_det_test gs://bucketname/Prod_det.csv prodno:integer,prodname:string,instock:integer --skip_leading_rows=1
Problem. Too many positional arguments, still have ['- skip_leading_rows = 1']. Please suggest how to solve this problem?
source to share