[MCOL-4984] Rename client UDF names in the plugin code. Created: 2022-02-03  Updated: 2022-08-25  Resolved: 2022-03-29

Status: Closed
Project: MariaDB ColumnStore
Component/s: MDB Plugin
Affects Version/s: 6.2.2
Fix Version/s: 22.08.1

Type: Task Priority: Minor
Reporter: Roman Assignee: Leonid Fedorov
Resolution: Fixed Votes: 0
Labels: None


 Description   

There are number of UDF's which names begin with cal..., e.g. calflushcache. Here is the example how to call it.

MariaDB [test]> select calflushcache();
+-----------------+
| calflushcache() |
+-----------------+
|               0 |
+-----------------+
1 row in set (0.005 sec)

We need to rename the functions replacing cal-prefix with mcs so that calflushcache() becomes mcsflushcache(). However we have to preserve the current cal-prefixed UDFs also to make the transition smooth for customers.
Here is the code where the UDFs' code is and here is the script to define them in MDB.
Plz note there is another group of UDFs defined inside MCS code itself that are prefixed with idb. We don't touch these in the scope of this issue.


Generated at Thu Feb 08 02:54:29 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.