mihaibudiu opened a new pull request, #5191:
URL: https://github.com/apache/calcite/pull/5191

   ## Jira Link
   
   [CALCITE-7727](https://issues.apache.org/jira/browse/CALCITE-7727)
   
   ## Changes Proposed
   
   I had mistakenly implemented type coercion between UUID and CHAR/BINARY by 
converting UUID to CHAR/BINARY.
   Postgres does the opposite, and I think it's the right choice. The previous 
choice leads to the surprising behavior described by the current issue. The new 
behavior also parallels other type coercions, e.g. comparisons between INT and 
CHAR, which casts to INT.
   
   The documentation was actually silent about this behavior, so we can claim 
it was undocumented. I have added this change of semantics to the release notes.
   
   I have also made the cast from string to UUID behave closer to Postgres. 


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