You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Vectorized][Feature] support do not fold constant #7667
I had searched in the issues and found no similar issues.
Description
Now we will get wrong result at some sql when set enable_fold_constant_by_be = false;
This is because FE function only support do some calculate with Bigint.
I add more function to support same type calculation, and cast Interger type argument to same level when these is constant.
Use case
selectcount(*) from date_dim where d_year=2001-1;
selectcount(*) from date_dim where d_year=2001+1;
selectcount(*) from date_dim where d_year=2001*1;
Activity