[ https://issues.apache.org/jira/browse/CASSANDRA-18346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17723533#comment-17723533 ]
Brandon Williams commented on CASSANDRA-18346: ---------------------------------------------- This looks good to me, but we'll need PR for 3.11 (this patch will apply to 4.0 and 4.1 though) > Error Unknown column during deserialization missing keyspace and table name > --------------------------------------------------------------------------- > > Key: CASSANDRA-18346 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18346 > Project: Cassandra > Issue Type: Bug > Components: Observability/Logging > Reporter: Brad Schoening > Assignee: Manish Ghildiyal > Priority: Low > Fix For: 3.11.x, 4.0.x, 4.1.x, 5.x > > Time Spent: 20m > Remaining Estimate: 0h > > The ERROR message generated in ColumnSubselection.java when a column name is > not found only prints the column name, not the keyspace and table. It can be > difficult to track down the source when more than one table uses the same > name. E.g., 'id'. > {quote}{{if (column == null)}} > { > {{ column = metadata.getDroppedColumn(name);}} > {{ if (column == null)}} > {{ throw new UnknownColumnException("Unknown column " + > UTF8Type.instance.getString(name) + " during deserialization");}} > {{}}} > {quote} > Example: > [ERROR] cluster_id=15 ip_address=192.168.65.10 java.lang.RuntimeException: > Unknown column id during deserialization > Proposed: > [ERROR] cluster_id=15 ip_address=192.168.65.10 java.lang.RuntimeException: > Unknown column id in table cycling.route during deserialization -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org