https://slingdata.io logo
Hello @flarco,
# sling-help
n
Hello @flarco, I’m getting the following error. I checked the CSV file and noticed some data quality issues, but I can’t pinpoint exactly which ones Sling is flagging. Does Sling provide a way to see which rows are failing?
Copy code
--- task_run.go:125 func2 ---
--- task_run.go:861 runDbToDb ---
~ Could not WriteToDb
--- task_run_write.go:349 WriteToDb ---
~ could not insert into `sling_parking`.`bahok_orders_tmp`
--- database_bigquery.go:596 BulkImportFlow ---
~ Error importing to BigQuery
--- database_bigquery.go:721 importViaLocalStorage ---
--- database_bigquery.go:701 func3 ---
~ Error copying from /tmp/bigquery/sling_parking.bahok_orders_tmp/2026-02-21T112710.696/part.01.0001.csv.gz into `sling_parking`.`bahok_orders_tmp`
--- database_bigquery.go:825 CopyFromLocal ---
~ Error in Import Task
--- database_bigquery.go:868 LoadFromReader ---
{Location: ""; Message: "Error while reading data, error message: CSV processing encountered too many errors, giving up. Rows: 2736; errors: 9; max bad: 0; error percent: 0"; Reason: "invalid"}
f
hey @Nishorgo yes, can you run with env var
SLING_KEEP_TEMP
? the temp file will not be deleted once the error occurs, so you'll be able to go to the row BQ is complaining about. Let me know if you think it's a bug.
n
No it's not a bug, I was asking for it as there are too many rows making it hard to pinpoint which rows were the source of the problem. Later, I checked BQ log to find the problem. My mistake was I thought the
CSV processing error
was coming from sling whereas it was coming from BQ. Thanks anyway.
2 Views