[ https://issues.apache.org/jira/browse/RYA-271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17102255#comment-17102255 ]
Brad commented on RYA-271: -------------------------- This pull request hasn't been officially rejected, but looks to be unnecessary according to the comments on the PR? > rya.indexing IndexingFunctionRegistry does not allow custom functions > --------------------------------------------------------------------- > > Key: RYA-271 > URL: https://issues.apache.org/jira/browse/RYA-271 > Project: Rya > Issue Type: Bug > Affects Versions: 3.2.10 > Reporter: Igor Nakshin > Priority: Blocker > > Using a custom SPARQL function results in null FUNCTION_TYPE and null return > value from IndexingFunctionRegistry.getResultVarFromFunctionCall. > Suggest modifying the function to use findBinaryResultVar if type is null, > otherwise proceed as now. > public static Var getResultVarFromFunctionCall(URI function, List<ValueExpr> > args) { > FUNCTION_TYPE type = SEARCH_FUNCTIONS.get(function); > if (type == null) { > return findBinaryResultVar(args); > } > else { > switch(type) { > case GEO: > return findBinaryResultVar(args); > case FREETEXT: > return findLiteralResultVar(args); > case TEMPORAL: > return findBinaryResultVar(args); > default: > return null; > } > } > } -- This message was sent by Atlassian Jira (v8.3.4#803005)