Skip to content

Conversation

@yoavcloud
Copy link
Contributor

MySQL allows casting using the BINARY keyword, for example:

SELECT BINARY 1+1

Adding support for parsing this as SELECT CAST(1+1 AS BINARY). Ideally, the parser would maintain the original query form, however, since this is deprecated in MySQL, I preferred a less instrusive solution (versus introducing a TypedExpr struct silimar to, or to replace TypedString).

@yoavcloud yoavcloud force-pushed the mysql_binary_kw_cast branch from a57c7ad to 5cff8ad Compare December 30, 2025 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant