Skip to content

Insufficient documentation to get a basic get_flight_info() working #7049

Open
@adsharma

Description

@adsharma

Describe the bug

Python has this cookbook. C++ has one too. There are many blog posts on this topic.

But I couldn't find one for Rust.

To Reproduce

Run the steps in the README here:

https://github.com/adsharma/ashdb/tree/in_memory_kv

It's a toy kv store backed by a hashmap. I get:

./target/debug/flight_sql_client --host localhost --port 50051 db-schemas %
Error: read flight data

Caused by:
    0: collect data stream
    1: Decode error: Error decoding root message: Type `i32` at position 1818585414 is unaligned.

Expected behavior

Successful listing of schemas.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationenhancementAny new improvement worthy of a entry in the changelog

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions