port remote connection client into lancedb (#194)

* to_df() is now async, added `to_df_blocking` to convenience
* add remote lancedb client to public lancedb
* make lancedb connection class understand url scheme
`lancedb+<connection_type>://<host>:<port>`.
This commit is contained in:
Rob Meng
2023-06-15 18:57:52 -04:00
committed by GitHub
parent 78de8f5782
commit cbb56e25ab
12 changed files with 412 additions and 8 deletions

View File

@@ -14,7 +14,6 @@
from __future__ import annotations
import os
import shutil
from functools import cached_property
from typing import List, Union
@@ -27,7 +26,6 @@ from lance.vector import vec_to_table
from .common import DATA, VEC, VECTOR_COLUMN_NAME
from .query import LanceFtsQueryBuilder, LanceQueryBuilder
from .util import get_uri_scheme
def _sanitize_data(data, schema):