diff --git a/core/src/test/java/org/apache/calcite/plan/RelWriterTest.java b/core/src/test/java/org/apache/calcite/plan/RelWriterTest.java index ccb375503d7..fd9499510ea 100644 --- a/core/src/test/java/org/apache/calcite/plan/RelWriterTest.java +++ b/core/src/test/java/org/apache/calcite/plan/RelWriterTest.java @@ -1055,12 +1055,8 @@ void testAggregateWithAlias(SqlExplainFormat format) { } /** Test case for - * [CALCITE-5607] - * - *

Before the fix, RelJson.toRex would throw an ArrayIndexOutOfBounds error - * when deserializing MINUS_DATE due to type inference requiring 3 operands. - * - *

The solution is to add in 'type' when serializing to JSON. + * [CALCITE-5607] + * Datetime MINUS throws ArrayIndexOutOfBounds error when serializing toRex. */ @Test void testDeserializeMinusDateOperator() { final FrameworkConfig config = RelBuilderTest.config().build();