mirror of
https://github.com/lancedb/lancedb.git
synced 2025-12-26 06:39:57 +00:00
@@ -354,3 +354,11 @@ async def test_query_camelcase_async(tmp_path):
|
||||
|
||||
result = await table.query().select(["camelCase"]).to_arrow()
|
||||
assert result == pa.table({"camelCase": pa.array([1, 2])})
|
||||
|
||||
|
||||
@pytest.mark.asyncio
|
||||
async def test_query_to_list_async(table_async: AsyncTable):
|
||||
list = await table_async.query().to_list()
|
||||
assert len(list) == 2
|
||||
assert list[0]["vector"] == [1, 2]
|
||||
assert list[1]["vector"] == [3, 4]
|
||||
|
||||
Reference in New Issue
Block a user