diff --git a/src/frontend/src/instance/log_handler.rs b/src/frontend/src/instance/log_handler.rs
index 6346efdab035..9ae782c7d4ab 100644
--- a/src/frontend/src/instance/log_handler.rs
+++ b/src/frontend/src/instance/log_handler.rs
@@ -25,7 +25,7 @@ use servers::error::{
};
use servers::interceptor::{LogIngestInterceptor, LogIngestInterceptorRef};
use servers::query_handler::PipelineHandler;
-use session::context::QueryContextRef;
+use session::context::{QueryContext, QueryContextRef};
use snafu::ResultExt;
use table::Table;
@@ -88,12 +88,13 @@ impl PipelineHandler for Instance {
async fn get_table(
&self,
- catalog: &str,
- schema: &str,
table: &str,
+ query_ctx: &QueryContext,
) -> std::result::Result