You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-01 06:46:55 +03:00
@ -11,7 +11,7 @@ files to create your own function or just try that function as is.
|
||||
$ make
|
||||
- Copy the libudf_mysql.so.1.0.0 and libudfsdk.so.1.0.0 file to /usr/local/mariadb/columnstore/lib on
|
||||
every columnstore node.
|
||||
$ sudo cp libudf_mysql.so.1.0.0 libudfsdk.so.1.0.0 /usr/local/mariadb/columnstore/lib/
|
||||
$ cp libudf_mysql.so.1.0.0 libudfsdk.so.1.0.0 /usr/local/mariadb/columnstore/lib/
|
||||
- Restart ColumnStore
|
||||
$ mcsadmin restartsystem y
|
||||
- Using the mcsmysql client add the user defined function, e.g,
|
||||
@ -20,4 +20,4 @@ files to create your own function or just try that function as is.
|
||||
> create function mcs_isnull returns string soname 'libudf_mysql.so';
|
||||
|
||||
You should now be able to use the mcs_add(arg1, arg2) and mcs_isnull(arg) functions in the select and/or where clauses
|
||||
of SQL statements.
|
||||
of SQL statements.
|
||||
|
Reference in New Issue
Block a user