Brad Schoening created CASSANDRA-18346:
------------------------------------------
Summary: 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
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)}}
{{{}}
{{ // If we don't find the definition, it could be we have data for a
dropped column, and we shouldn't}}
{{ // fail deserialization because of that. So we grab a "fake"
ColumnMetadata that ensure proper}}
{{ // deserialization. The column will be ignore later on anyway.}}
{{ column = metadata.getDroppedColumn(name);}}
{{ if (column == null)}}
{{ throw new UnknownColumnException("Unknown column " +
UTF8Type.instance.getString(name) + " during deserialization");}}
{{}}}
{quote}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]