I just reworked the data model (schema) of a table (column family) in order to enable additional queries, and now my inserts (all JSON inserts) produce the dreaded (by me) error:
Error: Cannot execute this query as it might involve data filtering and thus may have unpredictable performance. If you want to execute this query despite the performance unpredictability, use ALLOW FILTERING
The main changes that I made to the table (column family) were to create text to text maps of three table fields (replacing sets of UDTs), and I added a TimeUUID and made it the table's primary key.
Also, when I execute the same INSERT via cqlsh, it works fine. Thus, I assume that this is a bug in the Datastax Java Driver.
Is there a workaround to this (apparent) Java driver bug?
Here is my table creation CQL, but I am fairly certain that this is a Java driver bug:
Before I converted a number of the set<frozen<udt>> to maps, everything worked fine from the Java driver, as well.
--
You received this message because you are subscribed to the Google Groups "DataStax Java Driver for Apache Cassandra User Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to java-driver-us...@lists.datastax.com.
To unsubscribe from this group and stop receiving emails from it, send an email to java-driver-user+unsubscribe@lists.datastax.com.
--Alexandre DutraDriver & Tools Engineer @ DataStax
--
You received this message because you are subscribed to a topic in the Google Groups "DataStax Java Driver for Apache Cassandra User Mailing List" group.
To unsubscribe from this topic, visit https://groups.google.com/a/lists.datastax.com/d/topic/java-driver-user/FISMq5NBbEc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to java-driver-user+unsubscribe@lists.datastax.com.