Google BigQuery Storage V1 Client - Class PicosTimestampPrecision (2.3.0)

Reference documentation and code samples for the Google BigQuery Storage V1 Client class PicosTimestampPrecision.

The precision of the timestamp value in the Avro message. This precision will only be applied to the column(s) with the TIMESTAMP_PICOS type.

Protobuf type google.cloud.bigquery.storage.v1.ArrowSerializationOptions.PicosTimestampPrecision

Namespace

Google \ Cloud \ BigQuery \ Storage \ V1 \ ArrowSerializationOptions

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

PICOS_TIMESTAMP_PRECISION_UNSPECIFIED

Value: 0

Unspecified timestamp precision. The default precision is microseconds.

Generated from protobuf enum PICOS_TIMESTAMP_PRECISION_UNSPECIFIED = 0;

TIMESTAMP_PRECISION_MICROS

Value: 1

Timestamp values returned by Read API will be truncated to microsecond level precision. The value will be encoded as Arrow TIMESTAMP type in a 64 bit integer.

Generated from protobuf enum TIMESTAMP_PRECISION_MICROS = 1;

TIMESTAMP_PRECISION_NANOS

Value: 2

Timestamp values returned by Read API will be truncated to nanosecond level precision. The value will be encoded as Arrow TIMESTAMP type in a 64 bit integer.

Generated from protobuf enum TIMESTAMP_PRECISION_NANOS = 2;

TIMESTAMP_PRECISION_PICOS

Value: 3

Read API will return full precision picosecond value. The value will be encoded as a string which conforms to ISO 8601 format.

Generated from protobuf enum TIMESTAMP_PRECISION_PICOS = 3;