-
-
Notifications
You must be signed in to change notification settings - Fork 218
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
implementing CHAR()
function
#2255
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks good! Only reason I didn't approve yet was because I wanted to hear how much work was left to support the USING
clause. Seems like we're really close and may make sense to just go ahead and knock it out, but let me know if it's more complicated than I'm thinking.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice! Looks like this just needs some tests using USING
, and then it should be good to go.
This PR implements most of
CHAR()
functionality.Additionally, this fixes an overflow issue with
UINT32
andUINT64
By default, we display Bit Strings in
utf8mb4
, while you need to useUSING
in MySQL.Without
USING
the bit strings are supposed to show up as hexadecimal values.MySQL Docs: https://dev.mysql.com/doc/refman/8.0/en/string-functions.html#function_char