Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DuckDB] Implement replacement scan function for Lance Scan in DuckDB #641

Open
eddyxu opened this issue Feb 25, 2023 · 0 comments
Open
Labels
duckdb good first issue Good for newcomers help wanted Extra attention is needed rust Rust related tasks

Comments

@eddyxu
Copy link
Contributor

eddyxu commented Feb 25, 2023

Problem Statement

DuckDB has a concept of replacement scan when the URL of dataset matches to certain pattern, the URL itself can be used to indicate which scan function to call,

For example,

SELECT * FROM s3://foo/bar/zoo.lance
-- Replace
SELECT * FROM lance_scan("s3://foo/bar/zoo.lance")

Reference of the old (c++) implementation

https://github.com/eto-ai/lance/blob/78e5af7dec1a9602823797ba18eafc632ba727c3/integration/duckdb/src/lance/duckdb/lance-extension.cc#L65

Desired Behavior

Re-enable the scan replacement of lance scan in the rust-based duckdb extension.

@eddyxu eddyxu added good first issue Good for newcomers duckdb rust Rust related tasks labels Feb 25, 2023
@changhiskhan changhiskhan added the help wanted Extra attention is needed label Jul 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duckdb good first issue Good for newcomers help wanted Extra attention is needed rust Rust related tasks
Projects
None yet
Development

No branches or pull requests

2 participants