Skip to content

feat: rust examples for creating and querying Paimon tables - #648

Open
ganesh-skumar wants to merge 3 commits into
apache:mainfrom
ganesh-skumar:df-example
Open

feat: rust examples for creating and querying Paimon tables#648
ganesh-skumar wants to merge 3 commits into
apache:mainfrom
ganesh-skumar:df-example

Conversation

@ganesh-skumar

Copy link
Copy Markdown

Purpose

Add Rust examples demonstrating how to create a Paimon table with sample data and query it using DataFusion.

Brief change log

  • Add create_table.rs example to create a Paimon table and insert sample data.
  • Add datafusion_query.rs example demonstrating the DataFusion DataFrame API.
  • Add paimon-datafusion as a workspace dependency for the examples.

@ganesh-skumar

Copy link
Copy Markdown
Author

Hi, While checking the CI failure, the rust examples require adding paimon-datafusion and datafusion dependencies to paimon crate because they're located under crates/paimon/examples. As a result, the generated DEPENDENCIES.rust.tsv files also need to be updated.

I was wondering whether it would be more appropriate to place these examples in a separate example crate to avoid introducing these additional dependencies into the core paimon crate.

Or is updating the generated DEPENDENCIES.rust.tsv files the expected approach in this case?

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant