From d1d5e5d5a9465530966b1cec3d0d9a473413d699 Mon Sep 17 00:00:00 2001 From: xudong963 Date: Wed, 6 Nov 2024 16:01:20 +0800 Subject: [PATCH] chore: only test performance --- src/query/sql/src/planner/binder/table.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/query/sql/src/planner/binder/table.rs b/src/query/sql/src/planner/binder/table.rs index 8ff180b34cf4..1fcc54eba75e 100644 --- a/src/query/sql/src/planner/binder/table.rs +++ b/src/query/sql/src/planner/binder/table.rs @@ -154,6 +154,7 @@ impl Binder { mut bind_context: BindContext, ) -> Result<(SExpr, BindContext)> { let blocks = Arc::new(RwLock::new(vec![])); + self.ctx .set_materialized_cte((cte_info.cte_idx, cte_info.used_count), blocks)?; // Get the fields in the cte