yanlin-Lynn commented on a change in pull request #2529:
URL: https://github.com/apache/calcite/pull/2529#discussion_r716174639
##########
File path:
core/src/test/java/org/apache/calcite/test/MaterializedViewSubstitutionVisitorTest.java
##########
@@ -1691,6 +1691,44 @@ private void checkSatisfiable(RexNode e, String s) {
+ "EnumerableTableScan(table=[[hr, MV0]])")).ok();
}
+ /** Test case for
+ * <a
href="https://issues.apache.org/jira/browse/CALCITE-4779">[CALCITE-4779]
+ * GroupingSet contains {@link RexLiteral}, materialized view recognition
failed</a>. */
+ @Test void testGroupingSetLiteral() {
Review comment:
It's not grouping set, it's "constant literal" in group by list. right?
--
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]