I have the CSV file in GSBucket, and created the empty table in CloudSQL , and now I want to load data from GsBucket CSV to CloudSQL SQL Server table (existing), if I am using below command on CloudShell:
gcloud sql import csv testinstance gs://testbucketsabir/covid_clean.csv --database=TestDb --table=covid_clean --quiet
I get this error:
ERROR: (gcloud.sql.import.csv) HTTPError 400: Unknown export file type
Please help a beginner - I want to know where the problem is and what is going wrong here.