diff --git a/integ-test/src/test/java/org/opensearch/sql/calcite/remote/CalciteExplainIT.java b/integ-test/src/test/java/org/opensearch/sql/calcite/remote/CalciteExplainIT.java index b9a68bc899d..2b5d7038025 100644 --- a/integ-test/src/test/java/org/opensearch/sql/calcite/remote/CalciteExplainIT.java +++ b/integ-test/src/test/java/org/opensearch/sql/calcite/remote/CalciteExplainIT.java @@ -1149,9 +1149,9 @@ public void testPushDownMinOrMaxAggOnDerivedField() throws IOException { @Test public void testReplaceCommandExplain() throws IOException { String expected = loadExpectedPlan("explain_replace_command.yaml"); - assertYamlEqualsJsonIgnoreId( + assertYamlEqualsIgnoreId( expected, - explainQueryToString( + explainQueryYaml( String.format( "source=%s | replace 'IL' WITH 'Illinois' IN state | fields state", TEST_INDEX_ACCOUNT)));