caicancai commented on code in PR #3963:
URL: https://github.com/apache/calcite/pull/3963#discussion_r1756908723
##########
core/src/test/java/org/apache/calcite/materialize/LatticeSuggesterTest.java:
##########
@@ -721,6 +721,36 @@ private void checkDerivedColumn(Lattice lattice,
List<String> tables,
checkFoodmartSimpleJoin(CalciteAssert.SchemaSpec.FAKE_FOODMART);
}
+ /** Test case for
+ * <a
href="https://issues.apache.org/jira/browse/CALCITE-6374">[CALCITE-6374]
+ * LatticeSuggester throw NullPointerException when agg call covered with
cast </a>. */
+ @Test void testCastExpression() throws Exception {
Review Comment:
Maybe the name testCastExpression is not clear enough. Is there a clearer
way to use it?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]