Details
-
Bug
-
Status: Triage Needed
-
Normal
-
Resolution: Unresolved
-
None
-
None
-
None
-
All
-
None
Description
Some values aren’t parseable by TimeSerializer#toString, even though they were allowed by the type itself, which leads to Tracer throwing.
In general though, toString on this object should have never been called.
CREATE TABLE IF NOT EXISTS distributed_test_keyspace.table0 (pk0 uuid,pk1 float,pk2 inet,pk3 time,pk4 timestamp,pk5 smallint,ck0 double,ck1 timestamp,ck2 tinyint,ck3 inet,ck4 bigint,ck5 tinyint,ck6 decimal,ck7 ascii,ck8 boolean,static0 int static,static1 float static,static2 text static,static3 double static,static4 bigint static,static5 tinyint static,regular0 uuid,regular1 smallint,regular2 float,regular3 int,regular4 boolean,regular5 smallint,regular6 ascii,regular7 tinyint,regular8 bigint, PRIMARY KEY ((pk0,pk1,pk2,pk3,pk4,pk5), ck0, ck1, ck2, ck3, ck4, ck5, ck6, ck7, ck8)) WITH CLUSTERING ORDER BY (ck0 DESC,ck1 ASC,ck2 ASC,ck3 DESC,ck4 ASC,ck5 ASC,ck6 DESC,ck7 ASC,ck8 DESC); SELECT * FROM distributed_test_keyspace.table0 WHERE pk0 = ? AND pk1 = ? AND pk2 = ? AND pk3 = ? AND pk4 = ? AND pk5 = ? AND ck0 > ? AND regular4 < ? AND static2 < ? ALLOW FILTERING;', bindings=0fbbf0b9-1fca-0dee-4470-c1937beb8f34,(float)0.87520605,/154.108.207.6,8947843475553632690L,Wed Sep 13 20:00:59 CEST 206158350,(short)-745,0.11730296006035457,true,"ꋈ??ꍖ?㬰궇鉵??⹍?ὕ貏???ꤸ" java.lang.AssertionError: 103563 at org.apache.cassandra.serializers.TimeSerializer.toString(TimeSerializer.java:106) at org.apache.cassandra.serializers.TimeSerializer.toString(TimeSerializer.java:27) at org.apache.cassandra.db.marshal.AbstractType.getString(AbstractType.java:156) at org.apache.cassandra.db.marshal.AbstractCompositeType.getString(AbstractCompositeType.java:204) at org.apache.cassandra.db.marshal.AbstractType.getString(AbstractType.java:161) at org.apache.cassandra.dht.AbstractBounds.format(AbstractBounds.java:130) at org.apache.cassandra.dht.AbstractBounds.getString(AbstractBounds.java:123) at org.apache.cassandra.db.PartitionRangeReadCommand.queryStorage(PartitionRangeReadCommand.java:345) at org.apache.cassandra.db.ReadCommand.executeLocally(ReadCommand.java:468) at org.apache.cassandra.service.StorageProxy$LocalReadRunnable.runMayThrow(StorageProxy.java:2473) at org.apache.cassandra.service.StorageProxy$DroppableRunnable.run(StorageProxy.java:2872) at org.apache.cassandra.concurrent.ExecutionFailure$2.run(ExecutionFailure.java:163)