somu-imply commented on code in PR #13173:
URL: https://github.com/apache/druid/pull/13173#discussion_r988552219
##########
sql/src/test/java/org/apache/druid/sql/calcite/CalciteQueryTest.java:
##########
@@ -11222,6 +11216,47 @@ public void
testOrderByAlongWithAliasOrderByTimeGroupByMulti()
);
}
+ @Test
+ public void testOrderByAlongWithInternalScanQuery()
+ {
+ testQuery(
+ "select __time as t, m1 from druid.foo where (m1 in (select distinct
m1 from druid.foo)) order by 1 limit 1",
Review Comment:
I'll add a test mimicking the actual query
--
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]