in Sources/SparkConnect/ArrowEncoder.swift [326:332]
mutating func encodeIfPresent<T>(_ value: T?, forKey key: Self.Key) throws where T: Encodable {
if ArrowArrayBuilders.isValidBuilderType(T?.self) {
try doEncodeIf(value, forKey: key)
} else {
throw ArrowError.invalid("Type \(T.self) is currently not supported")
}
}