Skip to content

Commit

Permalink
fix wrong assert
Browse files Browse the repository at this point in the history
  • Loading branch information
vutran1710 committed Dec 5, 2023
1 parent 4d871c8 commit 15d9bac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ingestor/src/producers/delta.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ impl DeltaLakeProducer {
let arrow_schema = <ArrowSchema as TryFrom<&Schema>>::try_from(&metadata.schema.clone())
.map_err(|e| ProducerError::Initialization(format!("{:?}", e)))?;

assert_eq!(arrow_schema.fields.len(), 5);
assert_eq!(arrow_schema.fields.len(), 6);
let schema_ref = Arc::new(arrow_schema);

let writer = RecordBatchWriter::for_table(&table)?;
Expand Down

0 comments on commit 15d9bac

Please sign in to comment.