Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
1.0.2
-
None
-
None
-
2016-24, 2016-25, 2017-01
Description
Pierre-Adrien Coustillas reported on google group:
https://groups.google.com/forum/#!topic/mariadb-columnstore/d-R4wWTXvP8
MariaDB [mcs]> SELECT sum((valeur=1) * (1=1) ) FROM histo__agregats LIMIT 2;
ERROR 1178 (42000): The storage engine for the table doesn't support Un-recognized Arithmetic Operand
A workaround is:
MariaDB [mcs]> SELECT sum(if(valeur=1,1,0) * (1=1) ) FROM histo__agregats LIMIT 2;
--------------------------------
sum(if(valeur=1,1,0) * (1=1) ) |
--------------------------------
4509127 |
--------------------------------
1 row in set (0.48 sec)
Can reproduce the behavior.