-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.23.0
-
Component/s: None
-
Labels:
@Test public void testUnionTime() { CalciteAssert.AssertThat assertThat = CalciteAssert.that(); String query = "select * from (\n" + "select \"id\" from (VALUES(DATE '2018-02-03')) \"foo\"(\"id\")\n" + "union\n" + "select \"id\" from (VALUES(TIMESTAMP '2008-03-31 12:23:34')) \"foo\"(\"id\"))"; assertThat.query(query).returns("id=2108-03-12\nid=2018-02-03\n"); }
The test with wrong result passed.