lukasz-antoniak commented on code in PR #1828: URL: https://github.com/apache/cassandra-gocql-driver/pull/1828#discussion_r2035057620
########## helpers.go: ########## @@ -162,54 +164,154 @@ func getCassandraBaseType(name string) Type { } } -func getCassandraType(name string, logger StdLogger) TypeInfo { +// Parses long Java-style type definition to internal data structures. +func getCassandraLongType(name string, protoVer byte, logger StdLogger) TypeInfo { Review Comment: For now added `TODO`. This is tested indirectly in e.g. `TestFunctionMetadata`. ########## marshal.go: ########## @@ -172,6 +172,11 @@ func Marshal(info TypeInfo, value interface{}) ([]byte, error) { return marshalDate(info, value) case TypeDuration: return marshalDuration(info, value) + case TypeCustom: + switch info.(type) { + case VectorType: + return marshalVector(info.(VectorType), value) + } Review Comment: Done. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: pr-unsubscr...@cassandra.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: pr-unsubscr...@cassandra.apache.org For additional commands, e-mail: pr-h...@cassandra.apache.org