func decode()

in Sources/SparkConnect/ArrowDecoder.swift [366:372]


  func decode<T>(_ type: T.Type) throws -> T where T: Decodable {
    if ArrowArrayBuilders.isValidBuilderType(type) || type == Date.self {
      return try self.decoder.doDecode(self.decoder.singleRBCol)!
    } else {
      throw ArrowError.invalid("Type \(type) is currently not supported")
    }
  }