Skip to content

Commit d6c4693

Browse files
committed
chore(ibis): add function list for DuckDB (#1099)
1 parent a70c850 commit d6c4693

File tree

3 files changed

+2134
-0
lines changed

3 files changed

+2134
-0
lines changed

ibis-server/app/config.py

+2
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ def update(self, diagnose: bool):
6161
def get_remote_function_list_path(self, data_source: str) -> str:
6262
if not self.remote_function_list_path:
6363
return None
64+
if data_source in {"local_file", "s3_file", "minio_file", "gcs_file"}:
65+
data_source = "duckdb"
6466
base_path = os.path.normpath(self.remote_function_list_path)
6567
path = os.path.normpath(os.path.join(base_path, f"{data_source}.csv"))
6668
if not path.startswith(base_path):

0 commit comments

Comments
 (0)