Description
In other word, it would probably be a good idea to have:
cfm == CFMetadata.fromThrift(cfm.toThrift()) cfm == CFMetadata.fromSchema(cfm.toSchema())
In particular, we could have unit tests to check that, which would avoid things like CASSANDRA-3558.
It is not the case today for thrift because of the keyAlias. For some reason, if the keyAlias is not set, we return with toThrift() the default alias. I don't think this serves any purpose though.