Skip to content

Commit 279b4ea

Browse files
sylwiaszunejkodkropachev
authored andcommitted
Parse FrozenTypes properly
1 parent cbd2203 commit 279b4ea

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

helpers.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,9 @@ func getCassandraLongType(name string, protoVer byte, logger StdLogger) TypeInfo
287287
SubType: subType,
288288
Dimensions: dim,
289289
}
290+
} else if strings.HasPrefix(name, "org.apache.cassandra.db.marshal.FrozenType") {
291+
names := splitJavaCompositeTypes(name, "org.apache.cassandra.db.marshal.FrozenType")
292+
return getCassandraLongType(strings.TrimSpace(names[0]), protoVer, logger)
290293
} else {
291294
// basic type
292295
return NativeType{

0 commit comments

Comments
 (0)