Skip to content

Commit 9df12b5

Browse files
committed
Switching old pipeline to be a pass through for the new multi field pipeline
1 parent c8e1af8 commit 9df12b5

File tree

4 files changed

+137
-753
lines changed

4 files changed

+137
-753
lines changed

pgml-sdks/pgml/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -818,7 +818,7 @@ mod tests {
818818
}
819819

820820
///////////////////////////////
821-
// Vector Searches /////////////
821+
// Vector Searches ////////////
822822
///////////////////////////////
823823

824824
#[sqlx::test]

pgml-sdks/pgml/src/multi_field_pipeline.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,9 +142,8 @@ pub struct MultiFieldPipelineDatabaseData {
142142
pub created_at: DateTime,
143143
}
144144

145-
#[derive(Debug)]
145+
#[derive(Debug, Clone)]
146146
pub struct MultiFieldPipeline {
147-
// TODO: Make the schema and parsed_schema optional fields only required if they try to save a new pipeline that does not exist
148147
pub name: String,
149148
pub schema: Option<Json>,
150149
pub parsed_schema: Option<ParsedSchema>,

0 commit comments

Comments
 (0)