Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
Normal
Description
When converting an index definition from schema into the legacy thrift format, the index options are filtered to remove the reserved target option, which is automatically generated by Cassandra. Standard indexes do not support any user supplied options, but in the case of custom indexes (which do) the filtering is not happening correctly. This is due to a simple bug in ThriftConversion::toThrift(CFMetaData, ColumnDefinition) and wasn't caught because the relevant unit test doesn't include any custom index definitions.