kkdoon commented on PR #23594:
URL: https://github.com/apache/beam/pull/23594#issuecomment-1276585560

   > so any "evolution" happening between the writer and reader would really be 
unintentional.
   
   yeah your understanding is correct. The reader schema is mostly passed to 
satisfy [AvroSource 
validation](https://github.com/apache/beam/blob/483a0c95734c528aa45419596e9f27e9e650c5d7/sdks/java/core/src/main/java/org/apache/beam/sdk/io/AvroSource.java#L196),
 which expects users to pass readerSchema at compile time, since it forms a 
coder based on that. We could either update the AvroSource validation logic 
and/or update the `BigQueryAvroUtils.toGenericAvroSchema` logic to correctly 
generate schema for numeric types. 
   
   
   


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