reuvenlax commented on issue #11074: Store logical type values in Row instead 
of base values
URL: https://github.com/apache/beam/pull/11074#issuecomment-596817023
 
 
   @alexvanboxel Yes, that is exactly true. This means that the logical type 
value must now implement equals and hashCode, whereas before it didn't (because 
we stored only the base value).
   
   We could work around this by always converting to the base type inside of 
equals and hashCode, though that might be a bit expensive. However value types 
without a proper equals are generally discouraged in Java, so I think we can 
simply document that equals is required.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to