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