-
Notifications
You must be signed in to change notification settings - Fork 276
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
[Bug]: DATE cannot be converted to BIGINT in CAST #3293
Comments
Similar issue but with panic:
|
A proper error message should be given. |
No, they are different. These two cases is about NULL handling. And second statement is correct, now.
|
panic has been fixed already |
need an error code in 0.6 |
@domingozhang can update the status |
date to int will not be converted. error code will be normalized in future |
MO do not support the conversion DATE => BIGINT base on the doc : https://doc.weixin.qq.com/sheet/e3_AdIAkQb_AEYGT3QVZBJQXqJghCjYF?scode=AJsA6gc3AA840KbtsHAAgAkgYHABU&tab=s8bwcy We can close the issue. |
Is there an existing issue for the same bug?
Environment
Actual Behavior
select cast(cast(0x13488c5 as signed) as date);
Operator 'cast' with parameters [BIGINT DATE] will be implemented in future version.
Expected Behavior
No response
Steps to Reproduce
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: