You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@age.apache.org by "dehowef (via GitHub)" <gi...@apache.org> on 2023/07/07 23:55:05 UTC
[GitHub] [age] dehowef commented on issue #1008: Implicit Boolean Casting causes unexpected behavior in Logical Boolean Operators
dehowef commented on issue #1008:
URL: https://github.com/apache/age/issues/1008#issuecomment-1626370839
@Mghrabi The error you are getting is expected behavior. This is coerce_to_boolean catching an uncoercable type in the transform phase and throwing the appropiate error before the query reaches the execution phase.
What John was saying was that without the coerce_to_boolean function, an alternate execution phase path is likely needed, and erroring out there would be bad practice.
You can read here for more information on phases of a query:
https://www.postgresql.org/docs/current/query-path.html
--
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: dev-unsubscribe@age.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org