-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[postfix] rename galaxy.so to polarx_udf.so
NOTES ----- It's a temporary fix. Most of galaxy definitions have not been fixed.
- Loading branch information
jiyang.zjy
committed
Oct 24, 2023
1 parent
ad9b6d0
commit e08f80b
Showing
6 changed files
with
25 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 11 additions & 12 deletions
23
mysql-test/suite/galaxystore/r/feature_galaxy_plugin.result
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,31 @@ | ||
Install galaxy plugin | ||
INSTALL PLUGIN galaxy SONAME "galaxy.so"; | ||
Install polarx_udf plugin | ||
INSTALL PLUGIN polarx_udf SONAME "polarx_udf.so"; | ||
galax plugin status | ||
show global status like '%galaxy%'; | ||
show global status like '%polarx_udf%'; | ||
Variable_name Value | ||
Galaxyx_address # | ||
Galaxyx_port # | ||
galaxy_bloomfilter_call_count # | ||
galaxy_hllndv_call_count # | ||
galaxy_hyperloglog_call_count # | ||
polarx_udf_number_bloomfilter_calls # | ||
polarx_udf_number_hashcheck_calls # | ||
polarx_udf_number_hllndv_calls # | ||
polarx_udf_number_hyperloglog_calls # | ||
performance_schema metrics | ||
select * from performance_schema.user_defined_functions where UDF_NAME in ('hyperloglog', 'hllndv', 'bloomfilter'); | ||
UDF_NAME UDF_RETURN_TYPE UDF_TYPE UDF_LIBRARY UDF_USAGE_COUNT | ||
bloomfilter integer function 1 | ||
hllndv integer aggregate 1 | ||
hyperloglog char aggregate 1 | ||
test create/drop inner function | ||
create function bloomfilter returns int soname "galaxy.so"; | ||
create function bloomfilter returns int soname "polarx_udf.so"; | ||
ERROR HY000: Function 'bloomfilter' already exists | ||
create function hyperloglog returns int soname "galaxy.so"; | ||
create function hyperloglog returns int soname "polarx_udf.so"; | ||
ERROR HY000: Function 'hyperloglog' already exists | ||
create function hllndv returns int soname "galaxy.so"; | ||
create function hllndv returns int soname "polarx_udf.so"; | ||
ERROR HY000: Function 'hllndv' already exists | ||
drop function bloomfilter; | ||
ERROR HY000: DROP FUNCTION can't drop a dynamically registered user defined function | ||
drop function hyperloglog; | ||
ERROR HY000: DROP FUNCTION can't drop a dynamically registered user defined function | ||
drop function hllndv; | ||
ERROR HY000: DROP FUNCTION can't drop a dynamically registered user defined function | ||
UNINSTALL PLUGIN galaxy; | ||
UNINSTALL PLUGIN polarx_udf; | ||
select * from performance_schema.user_defined_functions where UDF_NAME in ('hyperloglog', 'hllndv', 'bloomfilter'); | ||
UDF_NAME UDF_RETURN_TYPE UDF_TYPE UDF_LIBRARY UDF_USAGE_COUNT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters