Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
b41sh committed Sep 24, 2024
1 parent d00d44a commit 29c4038
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/query/functions/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ pub fn is_builtin_function(name: &str) -> bool {
|| ASYNC_FUNCTIONS.contains(&name)
}

// The arguments of the search function, async function and udf are fetched from meta,
// which may be modified by user at any time, not suitable for caching.
// The plan of search function, async function and udf contains some arguments defined in meta,
// which may be modified by user at any time. Those functions are not not suitable for caching.
pub fn is_cacheable_function(name: &str) -> bool {
BUILTIN_FUNCTIONS.contains(name)
|| AggregateFunctionFactory::instance().contains(name)
Expand Down

0 comments on commit 29c4038

Please sign in to comment.