User-defined functions and other functions that can only run on Coordinator nodes in a cluster are not supported in PRUNE expressions. For the upcoming 3.11, the following change has been made to reject queries with invalid PRUNE conditions:
Prevent moving of unsafe vertex or edge filters into the traversal
Previously any vertex or edge filter condition qualified to be moved into the traversal. This is not safe if the condition is executed on DB servers. For example, on DB servers it is not possible to execute JavaScript user-defined functions, or some other AQL functions that only work on coordinators.
See arangodb/arangodb#16622
Originally posted by @Simran-B in arangodb/arangodb#17291 (comment)
User-defined functions and other functions that can only run on Coordinator nodes in a cluster are not supported in PRUNE expressions. For the upcoming 3.11, the following change has been made to reject queries with invalid PRUNE conditions:
See arangodb/arangodb#16622
Originally posted by @Simran-B in arangodb/arangodb#17291 (comment)