mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2024-12-28 01:31:05 -06:00
improve error details for missing functions
This commit is contained in:
parent
d79ff1fa9e
commit
a123487935
@ -158,6 +158,11 @@ public class VirtDataComposer {
|
||||
|
||||
diagnostics.trace(" resolved functions");
|
||||
diagnostics.trace(summarize(resolved, " - "));
|
||||
|
||||
if (resolved.size()==0) {
|
||||
return diagnostics.error(new RuntimeException("There were no functions found for " + call.toString()));
|
||||
}
|
||||
|
||||
funcs.addFirst(resolved);
|
||||
|
||||
Set<Class<?>> inputTypes = resolved.stream().map(ResolvedFunction::getInputClass).collect(Collectors.toSet());
|
||||
|
Loading…
Reference in New Issue
Block a user