From 4674982cfeb3f17ebfb3be7088d0e6773f810320 Mon Sep 17 00:00:00 2001 From: Noel Kwan <47273164+kwannoel@users.noreply.github.com> Date: Thu, 10 Oct 2024 17:19:24 +0800 Subject: [PATCH] Update src/frontend/src/binder/expr/function/mod.rs Co-authored-by: xiangjinwu <17769960+xiangjinwu@users.noreply.github.com> --- src/frontend/src/binder/expr/function/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/src/binder/expr/function/mod.rs b/src/frontend/src/binder/expr/function/mod.rs index 1f834ce7a122..bb35c2c60768 100644 --- a/src/frontend/src/binder/expr/function/mod.rs +++ b/src/frontend/src/binder/expr/function/mod.rs @@ -328,7 +328,7 @@ impl Binder { "`VARIADIC` is not allowed in table function call" ); self.ensure_table_function_allowed()?; - return Ok(TableFunction::new_postgres_query(args)?.into()); + return Ok(TableFunction::new_postgres_query(args).context("postgres_query error")?.into()); } // UDTF if let Some(ref udf) = udf