@qualithm/arrow-flight-client - v0.1.4
    Preparing search index...

    Function getSchemaFromFlightData

    • Get the schema from a FlightData stream.

      Decodes the stream to extract the schema from the first record batch. Note: This consumes the stream.

      Parameters

      • stream: AsyncIterable<FlightData>

        Async iterable of FlightData messages

      Returns Promise<Schema<any> | undefined>

      The Arrow Schema from the stream