Skip to content

Commit f625975

Browse files
Devdutt Shenoiparmesant
authored andcommitted
fix: incompatibility from merge (parseablehq#1046)
Fixes type incompatibility that stems from merging parseablehq#1021 after parseablehq#981
1 parent 1b5d433 commit f625975

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/kafka.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,11 @@ async fn ingest_message(msg: BorrowedMessage<'_>) -> Result<(), KafkaError> {
228228
let static_schema_flag = STREAM_INFO.get_static_schema_flag(stream_name)?;
229229

230230
let (rb, is_first) = event
231-
.into_recordbatch(schema, static_schema_flag, time_partition)
231+
.into_recordbatch(
232+
&schema,
233+
static_schema_flag.as_ref(),
234+
time_partition.as_ref(),
235+
)
232236
.map_err(|err| KafkaError::PostError(PostError::CustomError(err.to_string())))?;
233237

234238
event::Event {

0 commit comments

Comments
 (0)