Skip to content

Conversation

@ChunxuTang
Copy link
Collaborator

This PR

  • exposes three public datafusion query execution APIs
    • execute_datafusion: execute using the DataFusion planner with in-memory datasets. This is the API similar to the current execute
    • execute_datafusion_with_context: execute query with a DataFusion SessionContext, automatically building the catalog
    • execute_datafusion_with_catalog_and_context: execute query with a user-built catalog and session context. This is the most flexible datafusion-based API.
  • fixes the unqualified column names issue
  • adds more integration tests

@codecov-commenter
Copy link

codecov-commenter commented Nov 2, 2025

Codecov Report

❌ Patch coverage is 94.11765% with 22 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (main@e89fe95). Learn more about missing BASE report.

Files with missing lines Patch % Lines
rust/lance-graph/src/datafusion_planner.rs 90.83% 11 Missing ⚠️
rust/lance-graph/src/query.rs 95.66% 11 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main      #28   +/-   ##
=======================================
  Coverage        ?   79.76%           
=======================================
  Files           ?       16           
  Lines           ?     7073           
  Branches        ?        0           
=======================================
  Hits            ?     5642           
  Misses          ?     1431           
  Partials        ?        0           
Flag Coverage Δ
rust-unittests 79.76% <94.11%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@beinan beinan merged commit 60e7756 into lance-format:main Nov 2, 2025
9 checks passed
@ChunxuTang ChunxuTang deleted the datafusion-api branch November 16, 2025 04:14
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.

3 participants