Skip to content

Commit

Permalink
Merge pull request #42 from sidhant92/array_math_functions
Browse files Browse the repository at this point in the history
fix cache key
  • Loading branch information
sidhant92 authored Aug 16, 2024
2 parents c9045a6 + 0bfe9d5 commit 17dfb51
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ public Try<Node> parseExpression(final String expression) {

private Node getNode(final String expression, final String defaultField) {
final String cacheKey = expression + "_" + Optional.ofNullable(defaultField).orElse("");
return cache.get(cacheKey, ex -> super.parse(ex, defaultField));
return cache.get(cacheKey, ex -> super.parse(expression, defaultField));
}
}

0 comments on commit 17dfb51

Please sign in to comment.