From 74e003fd26d8b37a8db4c315d6ebaa5f99cb1dd0 Mon Sep 17 00:00:00 2001 From: paomian Date: Tue, 5 Nov 2024 11:59:57 +0800 Subject: [PATCH] chore: fix json path test --- src/pipeline/src/etl/processor/json_path.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pipeline/src/etl/processor/json_path.rs b/src/pipeline/src/etl/processor/json_path.rs index 46aaf638104f..c09d338c637f 100644 --- a/src/pipeline/src/etl/processor/json_path.rs +++ b/src/pipeline/src/etl/processor/json_path.rs @@ -216,6 +216,7 @@ mod test { let json_path = JsonPath::try_from("$.hello").unwrap(); let processor = JsonPathProcessor { json_path, + result_idex: Some(0), ..Default::default() };