cryptoe commented on code in PR #13650:
URL: https://github.com/apache/druid/pull/13650#discussion_r1066537977
##########
extensions-core/multi-stage-query/src/test/java/org/apache/druid/msq/exec/MSQSelectTest.java:
##########
@@ -1163,6 +1164,19 @@ public void
testGroupByWithMultiValueMvToArrayWithoutGroupByEnable()
.verifyExecutionError();
}
+ @Test
+ public void testGroupByWithComplexColumnThrowsUnsupportedException()
+ {
+ testSelectQuery()
+ .setSql("select unique_dim1 from foo2 group by unique_dim1")
Review Comment:
With this the test case will get multiple contexts.
##########
extensions-core/multi-stage-query/src/test/java/org/apache/druid/msq/exec/MSQSelectTest.java:
##########
@@ -1163,6 +1164,19 @@ public void
testGroupByWithMultiValueMvToArrayWithoutGroupByEnable()
.verifyExecutionError();
}
+ @Test
+ public void testGroupByWithComplexColumnThrowsUnsupportedException()
+ {
+ testSelectQuery()
+ .setSql("select unique_dim1 from foo2 group by unique_dim1")
Review Comment:
```suggestion
.setSql("select unique_dim1 from foo2 group by unique_dim1")
.setQueryContext(context)
```
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]