BigQuery Storage V1 API - Module Google::Cloud::Bigquery::Storage::V1::ArrowSerializationOptions::PicosTimestampPrecision (v1.6.0)

Reference documentation and code samples for the BigQuery Storage V1 API module Google::Cloud::Bigquery::Storage::V1::ArrowSerializationOptions::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.

Constants

PICOS_TIMESTAMP_PRECISION_UNSPECIFIED

value: 0
Unspecified timestamp precision. The default precision is microseconds.

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.

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.

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.