PCTEJA commented on PR #41556:
URL: https://github.com/apache/beam/pull/41556#issuecomment-7075577709

   Thanks for the review — addressed in 9cde165d: `NanosInstant` is now handled 
like `Timestamp.NANOS` across all write paths (`BeamRowToStorageApiProto` maps 
it to `TIMESTAMP(12)` with picos encoding; `AvroUtils` maps it to Avro 
`timestamp-nanos` with a matching read-back), plus the missing `toBeamRow` 
read-back branch, and the duplicate `toTableRow` branch is combined. The new 
tests mirror the `Timestamp.NANOS` coverage in all three test files.
   
   On the `TIMESTAMP(12)` question: keeping it follows the repo's existing 
handling of `Timestamp.NANOS` in `toTableSchema`, `BeamRowToStorageApiProto`, 
and `BigQueryAvroUtils` — the FILE_LOADS / streaming-insert limitation applies 
to that pre-existing mapping too, and plain `TIMESTAMP` would silently truncate 
nanosecond values to microseconds.
   
   /gemini review
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to