From c159a305d197c940a7d97190efbecc380a24f54e Mon Sep 17 00:00:00 2001 From: Xwg Date: Thu, 5 Oct 2023 14:56:27 +0800 Subject: [PATCH] fix: add text_files and deleted_text_files to ColumnCatalog (#79) --- src/execution/executor/dml/copy_from_file.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/execution/executor/dml/copy_from_file.rs b/src/execution/executor/dml/copy_from_file.rs index 79885fdf..561d781a 100644 --- a/src/execution/executor/dml/copy_from_file.rs +++ b/src/execution/executor/dml/copy_from_file.rs @@ -139,6 +139,8 @@ mod tests { nullable: false, desc: ColumnDesc::new(LogicalType::Integer, true, false), ref_expr: None, + text_files: vec![], + deleted_text_files: vec![], }), Arc::new(ColumnCatalog { id: Some(1), @@ -147,6 +149,8 @@ mod tests { nullable: false, desc: ColumnDesc::new(LogicalType::Float, false, false), ref_expr: None, + text_files: vec![], + deleted_text_files: vec![], }), Arc::new(ColumnCatalog { id: Some(1), @@ -155,6 +159,8 @@ mod tests { nullable: false, desc: ColumnDesc::new(LogicalType::Varchar(Some(10)), false, false), ref_expr: None, + text_files: vec![], + deleted_text_files: vec![], }), ];