NobiGo commented on code in PR #4213:
URL: https://github.com/apache/calcite/pull/4213#discussion_r1970790189
##########
mongodb/src/test/java/org/apache/calcite/adapter/mongodb/MongoAdapterTest.java:
##########
@@ -217,6 +217,17 @@ private CalciteAssert.AssertThat assertModel(URL url) {
"{$project: {STATE: '$state', ID: '$_id'}}"));
}
+ @Test void testJoin() {
+ assertModel(MODEL)
+ .query("select b.state, a.id from zips as a join zips as b on
a.id=b.id where a.id='02401' "
Review Comment:
We should add another test case so that we can make a comparison. For
instance:
`select b.state, a.id from zips as a join zips as b on a.id=b.id`
--
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]