Skip to content

Commit

Permalink
change function name
Browse files Browse the repository at this point in the history
  • Loading branch information
xzhseh committed Jan 22, 2024
1 parent f055001 commit 50e01a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/frontend/src/binder/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ impl Binder {
self.context.clause = clause;
}

pub fn get_udf_context(&mut self) -> &mut UdfContext {
pub fn udf_context_mut(&mut self) -> &mut UdfContext {
&mut self.udf_context
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/frontend/src/handler/create_sql_function.rs
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ pub async fn handle_create_sql_function(
let mut binder = Binder::new_for_system(session);

binder
.get_udf_context()
.udf_context_mut()
.update_context(create_mock_udf_context(arg_types.clone()));

if let Ok(expr) = extract_udf_expression(ast) {
Expand Down

0 comments on commit 50e01a0

Please sign in to comment.