From 6cb5f25c2eace800d82bb3e02af49bec5289b45d Mon Sep 17 00:00:00 2001 From: Chen Dai Date: Fri, 6 Jan 2023 10:12:56 -0800 Subject: [PATCH] Fix test index mapping Signed-off-by: Chen Dai --- .../src/test/java/org/opensearch/sql/legacy/HashJoinIT.java | 2 ++ .../indexDefinitions/unexpanded_object_index_mapping.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/integ-test/src/test/java/org/opensearch/sql/legacy/HashJoinIT.java b/integ-test/src/test/java/org/opensearch/sql/legacy/HashJoinIT.java index f796010bbe..9cd497e675 100644 --- a/integ-test/src/test/java/org/opensearch/sql/legacy/HashJoinIT.java +++ b/integ-test/src/test/java/org/opensearch/sql/legacy/HashJoinIT.java @@ -10,7 +10,9 @@ import static org.opensearch.sql.legacy.TestsConstants.TEST_INDEX_ACCOUNT; import static org.opensearch.sql.legacy.TestsConstants.TEST_INDEX_GAME_OF_THRONES; import static org.opensearch.sql.legacy.TestsConstants.TEST_INDEX_UNEXPANDED_OBJECT; +import static org.opensearch.sql.util.MatcherUtils.columnName; import static org.opensearch.sql.util.MatcherUtils.rows; +import static org.opensearch.sql.util.MatcherUtils.verifyColumn; import static org.opensearch.sql.util.MatcherUtils.verifyDataRows; import java.io.IOException; diff --git a/integ-test/src/test/resources/indexDefinitions/unexpanded_object_index_mapping.json b/integ-test/src/test/resources/indexDefinitions/unexpanded_object_index_mapping.json index dc2a063bea..8275147375 100644 --- a/integ-test/src/test/resources/indexDefinitions/unexpanded_object_index_mapping.json +++ b/integ-test/src/test/resources/indexDefinitions/unexpanded_object_index_mapping.json @@ -15,7 +15,7 @@ "correlate_id": { "type": "integer" }, - "message": { + "platform": { "type": "keyword" } }