Skip to content

Commit

Permalink
[CALCITE-6316] Update Javadoc for CALCITE-5607
Browse files Browse the repository at this point in the history
  • Loading branch information
olivrlee authored and snuyanzin committed Apr 22, 2024
1 parent 4a977fe commit 1566663
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions core/src/test/java/org/apache/calcite/plan/RelWriterTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -1055,12 +1055,8 @@ void testAggregateWithAlias(SqlExplainFormat format) {
}

/** Test case for
* <a href="https://issues.apache.org/jira/browse/CALCITE-5607">[CALCITE-5607]</a>
*
* <p>Before the fix, RelJson.toRex would throw an ArrayIndexOutOfBounds error
* when deserializing MINUS_DATE due to type inference requiring 3 operands.
*
* <p>The solution is to add in 'type' when serializing to JSON.
* <a href="https://issues.apache.org/jira/browse/CALCITE-5607">[CALCITE-5607]
* Datetime MINUS throws ArrayIndexOutOfBounds error when serializing toRex</a>.
*/
@Test void testDeserializeMinusDateOperator() {
final FrameworkConfig config = RelBuilderTest.config().build();
Expand Down

0 comments on commit 1566663

Please sign in to comment.