Merge branch 'cassandra-4.0' into cassandra-4.1

* cassandra-4.0:
  Fix few types issues and implement types compatibility tests