Skip to content

Commit

Permalink
fix: incompatibility from merge (parseablehq#1046)
Browse files Browse the repository at this point in the history
Fixes type incompatibility that stems from merging parseablehq#1021 after parseablehq#981
  • Loading branch information
de-sh authored and parmesant committed Dec 24, 2024
1 parent 1b5d433 commit f625975
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 f625975

Please sign in to comment.