rajucomp commented on code in PR #4412: URL: https://github.com/apache/cassandra/pull/4412#discussion_r2679893937
########## 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: nit: public modifier not needed on tests or test methods -- 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]

