Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Not a Bug
-
1.2
-
None
Description
There is a number of tests against median() UDAF. After 10.3 merging the tests complain in this way and queries use the median() UDAF fails afterwards with a syntax error:
MariaDB [tpch1]> CREATE OR REPLACE AGGREGATE FUNCTION median returns REAL soname 'libudf_mysql.so';
|
ERROR 1585 (HY000): This function 'median' has the same name as a native function
|
MariaDB [tpch1]> select l_shipmode,avg_mode(l_extendedprice),l_shipmode,median(l_extendedprice) from lineitem group by l_shipmode order by l_shipmode;
|
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'from lineitem group by l_shipmode order by l_shipmode' at line 1
|
MariaDB [tpch1]>
|