dcapwell commented on code in PR #4509:
URL: https://github.com/apache/cassandra/pull/4509#discussion_r2590915988
##########
src/java/org/apache/cassandra/cql3/UpdateParameters.java:
##########
@@ -108,20 +105,8 @@ public <V> void newRow(Clustering<V> clustering) throws
InvalidRequestException
throw new InvalidRequestException("Invalid empty or null
value for column " + metadata.clusteringColumns().get(0).name);
}
}
-
- if (clustering == Clustering.STATIC_CLUSTERING)
- {
- if (staticBuilder == null)
- staticBuilder = BTreeRow.pooledUnsortedBuilder();
- builder = staticBuilder;
- }
- else
- {
- if (regularBuilder == null)
- regularBuilder = BTreeRow.pooledUnsortedBuilder();
- builder = regularBuilder;
Review Comment:
```
INFO [node1_Native-Transport-Requests-1] 2025-12-02T00:43:21,539
SubstituteLogger.java:222 - ERROR [node1_Native-Transport-Requests-1] node1
2025-12-02T00:43:21,537 ExceptionHandlers.java:246 - Unexpected exception
during request; channel = [id: 0xad02368e, L:/127.0.0.1:9042 -
R:/127.0.0.1:63986]
java.lang.AssertionError: null
at
org.apache.cassandra.db.rows.BTreeRow$Builder.newRow(BTreeRow.java:872)
at
org.apache.cassandra.cql3.UpdateParameters.newRow(UpdateParameters.java:125)
at
org.apache.cassandra.cql3.statements.DeleteStatement.addUpdateForKey(DeleteStatement.java:90)
at
org.apache.cassandra.cql3.statements.ModificationStatement.addUpdates(ModificationStatement.java:1121)
at
org.apache.cassandra.cql3.statements.ModificationStatement.getMutations(ModificationStatement.java:954)
at
org.apache.cassandra.cql3.statements.ModificationStatement.executeWithoutCondition(ModificationStatement.java:688)
at
org.apache.cassandra.cql3.statements.ModificationStatement.execute(ModificationStatement.java:637)
at
org.apache.cassandra.cql3.QueryProcessor.processStatement(QueryProcessor.java:312)
```
--
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]