Details
-
Bug
-
Status: Resolved
-
Low
-
Resolution: Fixed
-
3.11.16, 4.0.11, 4.1.3, 5.0-alpha1, 5.0
-
None
-
Correctness
-
Low
-
Low Hanging Fruit
-
User Report
-
All
-
None
-
Description
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'.
if (column == null)
{
column = metadata.getDroppedColumn(name);
if (column == null)
throw new UnknownColumnException("Unknown column " + UTF8Type.instance.getString(name) + " during deserialization");
}
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