From b4a6c60daf1a2c35a740d0245d7b3fb32fd8a0e0 Mon Sep 17 00:00:00 2001 From: Tomoyuki MORITA Date: Wed, 4 Sep 2024 14:04:11 -0700 Subject: [PATCH] Fix SparkExecutionEngineConfigClusterSetting deserialize issue (#2966) Signed-off-by: Tomoyuki Morita --- .../config/SparkExecutionEngineConfigClusterSetting.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/async-query/src/main/java/org/opensearch/sql/spark/config/SparkExecutionEngineConfigClusterSetting.java b/async-query/src/main/java/org/opensearch/sql/spark/config/SparkExecutionEngineConfigClusterSetting.java index adaaa57d31..f940680c06 100644 --- a/async-query/src/main/java/org/opensearch/sql/spark/config/SparkExecutionEngineConfigClusterSetting.java +++ b/async-query/src/main/java/org/opensearch/sql/spark/config/SparkExecutionEngineConfigClusterSetting.java @@ -7,8 +7,10 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.google.gson.Gson; +import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; +import lombok.NoArgsConstructor; /** * This POJO is just for reading stringified json in `plugins.query.executionengine.spark.config` @@ -16,6 +18,8 @@ */ @Data @Builder +@AllArgsConstructor +@NoArgsConstructor @JsonIgnoreProperties(ignoreUnknown = true) public class SparkExecutionEngineConfigClusterSetting { // optional