lance-format/lance

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

Open

#641 建立於 2023年2月25日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)Rust (695 fork)github user discovery
duckdbgood first issuehelp wantedrust

倉庫指標

Star
 (6,582 star)
PR 合併指標
 (平均合併 6天 1小時) (30 天內合併 219 個 PR)

描述

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.

貢獻者指南