You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/06/04 13:38:34 UTC

[GitHub] [beam] damccorm opened a new issue, #19815: Add support for remaining data types in python RowCoder

damccorm opened a new issue, #19815:
URL: https://github.com/apache/beam/issues/19815

   In the initial [python RowCoder implementation](https://github.com/apache/beam/pull/9188) we only added support for the data types that already had coders in the Python SDK. We should add support for the remaining data types that are not currently supported:
   
   * INT8 (ByteCoder in Java)
   * INT16 (BigEndianShortCoder in Java)
   * FLOAT (FloatCoder in Java) (Note: doubles are supported, this is specifically for single-precision)
   * \--BOOLEAN (standard beam:coder:bool:v1, BooleanCoder in Java)\--
   * \--BYTES (standard beam:coder:bytes:v1, ByteArrayCoder in Java)\--
   * \--Map (MapCoder in Java)\--
   
   We might consider making those coders standard so they can be tested independently from RowCoder in standard_coders.yaml. Or, if we don't do that we should probably add a more robust testing framework for RowCoder itself, because it will be challenging to test all of these types as part of the RowCoder tests in standard_coders.yaml.
   
   Imported from Jira [BEAM-7996](https://issues.apache.org/jira/browse/BEAM-7996). Original Jira may contain additional context.
   Reported by: bhulette.


-- 
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: github-unsubscribe@beam.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org