mkhludnev commented on PR #27406:
URL: https://github.com/apache/beam/pull/27406#issuecomment-1642760135

   > Could you elaborate a bit about that and what are the next steps from your 
point of view and what help do you need?
   When JdbcIOToAvroIT `NUMERIC/DECIMAL(10,2)` (with precision and scale) 
writes value into Avro. It fails with 
    ```
   Caused by: java.lang.RuntimeException: Unhandled logical type 
beam:logical_type:fixed_decimal:v1
        at 
org.apache.beam.sdk.extensions.avro.schemas.utils.AvroUtils.genericFromBeamField(AvroUtils.java:1228)
   ```
   `BigDecimal` arrives into `AU.genericFromBeamField` with 
FixedPrecisionNumber logical type. I'm able to capture it via
    `if (FixedPrecisionNumber.IDENTIFIER.equals(identifier)) {` but what's the 
GenericData in this case. Should we just yield same BigDecimal or I should 
somehow construct bytes of FixedSchema?  
    
   


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