jonathansudhakar1 commented on issue #41017:
URL: https://github.com/apache/beam/issues/41017#issuecomment-6664312772

   @Abacn, since you fixed the write side of this in #39414: does the two-step 
fix in the description look right to you? Step 1 lets `AvroUtils` convert an 
Avro `date` to `LocalDate` when the target is `SqlTypes.DATE`. Step 2 has 
`ParquetTable` build rows with the table's schema instead of the Avro-inferred 
one. Or would you rather fix it somewhere else, for example in `ParquetIO`? If 
the approach works for you, I'll send a PR with round-trip tests in 
`ParquetTableProviderTest` (`SELECT *` and a projection) and an `AvroUtilsTest` 
case.
   
   .take-issue


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