arvindKandpal-ksolves commented on code in PR #4412: URL: https://github.com/apache/cassandra/pull/4412#discussion_r2680849263
########## test/distributed/org/apache/cassandra/distributed/test/BetweenInversionTest.java: ########## @@ -0,0 +1,36 @@ +package org.apache.cassandra.distributed.test; + +import org.apache.cassandra.distributed.Cluster; +import org.apache.cassandra.distributed.api.ConsistencyLevel; +import org.junit.Test; + +import static org.junit.Assert.assertEquals; + +/** + * Tests that the BETWEEN operator respects SQL semantics: + * - Normal BETWEEN (low <= high) returns rows. + * - Inverted BETWEEN (low > high) returns no rows (empty result). + */ +public class BetweenInversionTest Review Comment: @rajucomp I tried removing the public modifier, but the test runner failed locally with an initialization error. It seems the current setup requires test classes to be public, so I've kept it as is to ensure CI passes. -- 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]

