Reference documentation and code samples for the Google BigQuery v2 API enum BigQueryInsertStatus.
Specifies the status of an insert attempt depending on the validity of the rows.
Note that the validity of a row is determined by whether AllowUnknownFields
is set to true or not.
If AllowUnknownFields is set to true, then rows containing fields
that do not match any on the destination table will, otherwise, be considered valid rows.
All matching fields in these rows will be inserted, while unmatching fields will be silently skipped.
If AllowUnknownFields is not set to true, then rows containing fields
that do not match any on the destination table will be considered invalid and won't be inserted.
All rows were inserted successfully.
This only happens if all rows are valid rows.
NoRowsInserted
No rows were inserted. In that case the BigQueryInsertResults
returned by the insert operation will contain error information about the invalid rows.
This can happen when:
No rows are valid.
SkipInvalidRows is not set to true and at least
one row is invalid.
SomeRowsInserted
Some rows were inserted but not others. In that case the BigQueryInsertResults
returned by the insert operation will contain error information about the rows that were not inserted.
This happens only when SkipInvalidRows is set to true and some,
but not all of the rows, are invalid.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eBigQueryInsertStatus\u003c/code\u003e enum within the Google BigQuery v2 API, detailing the status of insert attempts.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBigQueryInsertStatus\u003c/code\u003e enum reflects the outcome of a row insertion attempt, considering the validity of the rows and whether \u003ccode\u003eAllowUnknownFields\u003c/code\u003e is set.\u003c/p\u003e\n"],["\u003cp\u003eThere are three possible \u003ccode\u003eBigQueryInsertStatus\u003c/code\u003e fields, which are \u003ccode\u003eAllRowsInserted\u003c/code\u003e, \u003ccode\u003eNoRowsInserted\u003c/code\u003e, and \u003ccode\u003eSomeRowsInserted\u003c/code\u003e, each describing the status of the rows.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBigQueryInsertStatus\u003c/code\u003e enum in the context of \u003ccode\u003eNoRowsInserted\u003c/code\u003e and \u003ccode\u003eSomeRowsInserted\u003c/code\u003e refers to the \u003ccode\u003eBigQueryInsertResults\u003c/code\u003e to provide information on any errors that occur during row insertion.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of these documents are \u003ccode\u003e3.11.0\u003c/code\u003e, and the document covers all releases from that all the way down to \u003ccode\u003e2.2.0\u003c/code\u003e at the bottom of the list.\u003c/p\u003e\n"]]],[],null,[]]