caicancai commented on code in PR #4004:
URL: https://github.com/apache/calcite/pull/4004#discussion_r1801326324
##########
cassandra/src/test/java/org/apache/calcite/test/CassandraAdapterTest.java:
##########
@@ -154,4 +154,16 @@ static void load(CqlSession session) {
.enableMaterializations(true)
.explainContains("CassandraTableScan(table=[[twissandra,
Tweets_By_User]])");
}
+
+ @Test void testNotEquals() {
+ CalciteAssert.that()
+ .with(TWISSANDRA)
+ .query("select * from \"tweets\" where \"username\" <> 'JmuhsAaMdw'")
+ .enableMaterializations(false)
+ .explainContains("CassandraFilter(condition=[<>($0, 'JmuhsAaMdw')])\n"
+ + " CassandraTableScan(table=[[twissandra, tweets]])")
+ .limit(1)
+ .returns("tweet_id=f3c329de-d05b-11e5-b58b-90e2ba530b12; "
Review Comment:
Sorry, this test was automatically generated by copilot before. I am setting
up a Cassandra environment to test 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]