Skip to content

Commit

Permalink
[CALCITE-6596] Enable function-level cache by default
Browse files Browse the repository at this point in the history
  • Loading branch information
julianhyde committed Sep 25, 2024
1 parent 4ab8d80 commit cd6762e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ public final class CalciteSystemProperty<T> {
* cache in Calcite. The default value is 1,000.
*/
public static final CalciteSystemProperty<Integer> FUNCTION_LEVEL_CACHE_MAX_SIZE =
intProperty("calcite.function.cache.maxSize", 0, v -> v >= 0);
intProperty("calcite.function.cache.maxSize", 1_000, v -> v >= 0);

private static CalciteSystemProperty<Boolean> booleanProperty(String key,
boolean defaultValue) {
Expand Down

0 comments on commit cd6762e

Please sign in to comment.