fix: refuse graph schemas a definition cannot carry, and take any Table.add input on insert

A node or edge type whose schema would read back as another type from its JSON form (timestamp units and time zones, durations, times, dictionaries) is refused before a request carries it. Inserting into a property graph registers DataFrame converters first, as Table.add does, and the async graph handles are in the API reference.
This commit is contained in:
Jack Ye
2026-09-29 09:13:42 -05:00
parent 973a793d18
commit 5f4d448a34
5 changed files with 180 additions and 8 deletions
+11
View File
@@ -478,6 +478,17 @@ Table hold your actual data as a collection of records / rows.
::: lancedb.materialized_view.AsyncMaterializedView
## Property Graphs (Asynchronous)
`AsyncConnection` returns these handles from its `create_*` and `open_*`
property graph methods.
::: lancedb.graph.AsyncPropertyGraph
::: lancedb.graph.AsyncVirtualPropertyGraph
::: lancedb.graph.AsyncMaterializedVirtualPropertyGraph
## Indices (Asynchronous)
Indices can be created on a table to speed up queries. This section