|
InnoDB allows for multiple params on COUNT DISTINCT, Columnstore does not.
In ver 1.1, an appropriate error was generated. After the inclusion of the UDAF API, the code sees the multi-parameter and mistakes it for a UDAF, but the first parameter wasn't part of a UDAF, and the confusing error is generated.
For this JIRA, I'll try to get the proper error message back. I'll also open a JIRA to enable multiple parameters for COUNT DISTINCT.
|
|
Build verified: 1.4.3-1 BB nightly
engine commit:
f843e98
MariaDB [mytest]> select count(distinct l_orderkey, l_linenumber) from lineitem;
ERROR 1178 (42000): The storage engine for the table doesn't support IDB-2020: Multiple arguments in aggregate function is currently not supported.
MariaDB [mytest]> select count(distinct l_orderkey, l_linenumber) from lineitem;
ERROR 1178 (42000): The storage engine for the table doesn't support IDB-2020: Multiple arguments in aggregate function is currently not supported.
MariaDB [mytest]> select count(distinct l_orderkey, l_linenumber) from lineitem;
ERROR 1178 (42000): The storage engine for the table doesn't support IDB-2020: Multiple arguments in aggregate function is currently not supported.
MariaDB [mytest]> select count(distinct l_orderkey, l_linenumber) from lineitem;
ERROR 1178 (42000): The storage engine for the table doesn't support IDB-2020: Multiple arguments in aggregate function is currently not supported.
|