datafusion-java icon indicating copy to clipboard operation
datafusion-java copied to clipboard

How to create dataframe from an in-memory data collection,such as List or Map?

Open fishblue opened this issue 2 years ago • 1 comments

How to create dataframe from an in-memory data collection,such as List or Map?

fishblue avatar Sep 15 '23 01:09 fishblue

afaik there's no easy way to do this via java for now, but ideally we can create an API that converts List or Map into a https://docs.rs/datafusion/latest/datafusion/datasource/provider/trait.TableProvider.html and then hook it up with context

jimexist avatar Sep 15 '23 01:09 jimexist