We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
2.1
conv() with float value as input parameter leads to incorrect result
float value or other illegal values are banned from conv() function
Just execute
create table test_tb(int_1 int, float_2 float); insert into test_tb values(1, 1.464868); select conv(float_2,10,2),float_2 from test_tb;
The result "0" is incorrect, it should be like "0 01111111 01110111000000011001011"
BTW, I suggest that the conv() prohibits floating-point numbers as input parameters
No response
The text was updated successfully, but these errors were encountered:
It will be fixed in 2.1.7
Sorry, something went wrong.
[Bug](conv) fix conv function parser string failure return wrong resu…
0ed5540
…lt (#40530) ## Proposed changes Issue Number: close #39618 <!--Describe your changes.-->
Successfully merging a pull request may close this issue.
Search before asking
Version
2.1
What's Wrong?
conv() with float value as input parameter leads to incorrect result
What You Expected?
float value or other illegal values are banned from conv() function
How to Reproduce?
Just execute
The result "0" is incorrect, it should be like "0 01111111 01110111000000011001011"
BTW, I suggest that the conv() prohibits floating-point numbers as input parameters
Anything Else?
No response
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: