From f6de8ba79a7b0f1e2b8959e61d4f7fe2d85afed5 Mon Sep 17 00:00:00 2001 From: Devdutt Shenoi Date: Fri, 20 Dec 2024 23:24:36 +0530 Subject: [PATCH] fix: incompatibility from merge --- src/kafka.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/kafka.rs b/src/kafka.rs index 9322720c6..ba740df8a 100644 --- a/src/kafka.rs +++ b/src/kafka.rs @@ -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 {