Abacn commented on issue #23374:
URL: https://github.com/apache/beam/issues/23374#issuecomment-3246706154

   Logical type by definition is a derived type with some "meaning" on its 
representation type. A better route could be introducing a "Raw" type in Beam 
model:
   
   
https://github.com/apache/beam/blob/4289ea20a8dc962dab0ead17ec8216a63655c48d/model/pipeline/src/main/proto/org/apache/beam/model/pipeline/v1/schema.proto#L66
   
   saying, add a
   
   ```
   RawType raw_type = 8;
   ```
   
   and
   
   ```
   message RawType {
     Coder coder = 1;
   }
   ```
   
   In the case of millis instant instant, it is then a logical type of 
`RAW<BigEndianInt32Coder>`
   
   A full design is planned.


-- 
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