Skip to content

Commit

Permalink
fix: incompatibility from merge (#1046)
Browse files Browse the repository at this point in the history
Fixes type incompatibility that stems from merging #1021 after #981
  • Loading branch information
de-sh authored Dec 21, 2024
1 parent 4d3437c commit 503eaa0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/kafka.rs
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,11 @@ async fn ingest_message(msg: BorrowedMessage<'_>) -> Result<(), KafkaError> {
let static_schema_flag = STREAM_INFO.get_static_schema_flag(stream_name)?;

let (rb, is_first) = event
.into_recordbatch(schema, static_schema_flag, time_partition)
.into_recordbatch(
&schema,
static_schema_flag.as_ref(),
time_partition.as_ref(),
)
.map_err(|err| KafkaError::PostError(PostError::CustomError(err.to_string())))?;

event::Event {
Expand Down

0 comments on commit 503eaa0

Please sign in to comment.