You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 7, 2026. It is now read-only.
We start from a CSV that has 2 incorrect lines and we want to load in a bigquery table.
When maxBadRecords=0, the job returns an error and the data is not inserted into the table. Expected response. Ok
When maxBadRecords=(>=2), the job returns the same error, but the data in the destination is inserted correctly. It is an unexpected response according to the official documentation
Documentation says:
maxBadRecords | (Optional) The maximum number of bad records that BigQuery can ignore when running the job. If the number of bad records exceeds this value, an invalid error is returned in the job result. The default value is 0, which requires that all records are valid
Environment details
@google-cloud/bigqueryversion:@google-cloud/[email protected]Steps to reproduce
We start from a CSV that has 2 incorrect lines and we want to load in a bigquery table.
When maxBadRecords=0, the job returns an error and the data is not inserted into the table. Expected response. Ok
When maxBadRecords=(>=2), the job returns the same error, but the data in the destination is inserted correctly. It is an unexpected response according to the official documentation
Documentation says:
maxBadRecords | (Optional) The maximum number of bad records that BigQuery can ignore when running the job. If the number of bad records exceeds this value, an invalid error is returned in the job result. The default value is 0, which requires that all records are valid
Thanks