Optimization of queries with user-defined predicates | ACM Transactions on Database Systems (TODS) | DeepDyve