Correctly report if a UDT column is frozen

Description

Since CASSANDRA-7423 (C* 3.6), top-level UDTs (and tuples?) can be unfrozen.
However, the driver still hard-codes DataType.isFrozen to true.

Note: the fix will only apply to user types returned by cluster.getMetadata(). The native protocol does not carry that information for query metadata (ResultSet.getColumnDefinitions(), PreparedStatement.getVariables()...), and it's probably of little use in that case anyway.

Environment

None

Pull Requests

None

Activity

Show:
Olivier Michallat
March 7, 2017, 7:46 PM

Tuples are still always frozen.

Fixed

Assignee

Unassigned

Reporter

Olivier Michallat

Labels

None

PM Priority

None

Reproduced in

3.0.7
3.1.4

Affects versions

None

Fix versions

Pull Request

None

Doc Impact

None

Size

None

External issue ID

None

External issue ID

None

Priority

Major
Configure