Description
The install check fails when MADlib is installed on a schema named
anything other than `madlib`. The issue seems to be because the fn_dist
param expects a distance function name prefixed with `<madlib_schema>.`
With MADlib installed on schema `mad`, the following error happens:
psql:/tmp/madlib.OIue8c/knn/test/knn.sql_in.tmp:155: ERROR: spiexceptions.InvalidSchemaName: schema "madlib" does not exist LINE 3: oid='madlib.squared_dist_norm2(DOUBLE PRECIS... ^ QUERY: select prorettype != 'DOUBLE PRECISION'::regtype OR proisagg = TRUE AS OUTPUT from pg_proc where oid='madlib.squared_dist_norm2(DOUBLE PRECISION[], DOUBLE PRECISION[])'::regprocedure; CONTEXT: Traceback (most recent call last): PL/Python function "knn", line 35, in <module> fn_dist PL/Python function "knn", line 147, in knn PL/Python function "knn", line 100, in knn_validate_src
Attachments
Issue Links
- links to