Reference documentation and code samples for the Google BigQuery Storage V1 Client class StorageErrorCode.
Error code for StorageError
.
Protobuf type google.cloud.bigquery.storage.v1.StorageError.StorageErrorCode
Methods
name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
STORAGE_ERROR_CODE_UNSPECIFIED
Value: 0
Default error.
Generated from protobuf enum STORAGE_ERROR_CODE_UNSPECIFIED = 0;
TABLE_NOT_FOUND
Value: 1
Table is not found in the system.
Generated from protobuf enum TABLE_NOT_FOUND = 1;
STREAM_ALREADY_COMMITTED
Value: 2
Stream is already committed.
Generated from protobuf enum STREAM_ALREADY_COMMITTED = 2;
STREAM_NOT_FOUND
Value: 3
Stream is not found.
Generated from protobuf enum STREAM_NOT_FOUND = 3;
INVALID_STREAM_TYPE
Value: 4
Invalid Stream type.
For example, you try to commit a stream that is not pending.
Generated from protobuf enum INVALID_STREAM_TYPE = 4;
INVALID_STREAM_STATE
Value: 5
Invalid Stream state.
For example, you try to commit a stream that is not finalized or is garbaged.
Generated from protobuf enum INVALID_STREAM_STATE = 5;
STREAM_FINALIZED
Value: 6
Stream is finalized.
Generated from protobuf enum STREAM_FINALIZED = 6;
SCHEMA_MISMATCH_EXTRA_FIELDS
Value: 7
There is a schema mismatch and it is caused by user schema has extra field than bigquery schema.
Generated from protobuf enum SCHEMA_MISMATCH_EXTRA_FIELDS = 7;
OFFSET_ALREADY_EXISTS
Value: 8
Offset already exists.
Generated from protobuf enum OFFSET_ALREADY_EXISTS = 8;
OFFSET_OUT_OF_RANGE
Value: 9
Offset out of range.
Generated from protobuf enum OFFSET_OUT_OF_RANGE = 9;