This is an automated email from the ASF dual-hosted git repository.
snuyanzin pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/calcite.git
The following commit(s) were added to refs/heads/main by this push:
new 1566663494 [CALCITE-6316] Update Javadoc for CALCITE-5607
1566663494 is described below
commit 1566663494207c24318d4c1d2c908df4a15c4aa4
Author: Oliver Lee <[email protected]>
AuthorDate: Fri Mar 8 00:34:14 2024 +0000
[CALCITE-6316] Update Javadoc for CALCITE-5607
---
core/src/test/java/org/apache/calcite/plan/RelWriterTest.java | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
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 ccb375503d..fd9499510e 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 @@ class RelWriterTest {
}
/** 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();