Current Limitations
What Graphersal 0.2.0 does not do, in one place. Each item links to the page with the details; the deliberate differences from Apache TinkerPop are listed one by one in TinkerPop Deviations, and the steps and scenarios that are not implemented yet in TinkerPop Compliance.
Data model
- Dates keep an offset, not a zone. A
datetimestores its UTC offset; a time zone is an argument of the operations that need one, never part of a value, and the zone database is the one bundled with the release (Time Zones). GraphSON'sgx:Year,gx:YearMonth,gx:MonthDay,gx:OffsetTimeandgx:ZoneOffsetare skipped on import (GraphSON). - One value per property key. Only
Cardinality.singleis written; store several values as one array (Upserts). There are no meta-properties: a GraphSON import folds them into the_metaproperty. - Ids are strings. A numeric id becomes its text, and ids order as strings (
"10"before"9"; see Id Arguments and Predicates). - Edges have one label; vertices have a label set (Multi-Label Vertices).
- Property indexes are declared, top-level and per label. A
has()on a property reads an index only when one is declared withg.create_index(..)for the start step's label and the key (Property Indexes); nested values (jpath keys),has()withouthas_label()andorder()scan. - Vector search is exact, without an index.
nearest()scores every incoming element (about 13 ms per 100 000 vectors of 384 f32 components); there is no approximate (ANN, HNSW) vector index yet. Filter before the search to score fewer (Vectors). - The graph lives in memory. A Store makes it durable, but the whole graph is loaded into memory when the store is opened.
Query language
- The DSL is Rhai, not Groovy. Queries read like Gremlin in either spelling (
hasLabelorhas_label), but maps are written#{..}, child traversals need__.(where(__.out())) and tokens need their class (Order.desc,Scope.local). A Gremlin text query is not parsed as it is. - No
withStrategies()/withoutStrategies(). Execution options are set withg.with(key, value)(Execution Options Reference). - No
g.tx(). Every traversal is one unit of work; a host can run a whole script as one unit (Transactions). - GQL is experimental.
g.gql()runs ISO GQL queries with the write clausesINSERT(CypherCREATE),SET,REMOVE,DELETEand Cypher'sMERGE(Cypher spellings as aliases, Cypher's map projections, comprehensions,COUNT { }/COLLECT { }and list predicates,UNION/NEXTandCALL { }subqueries, quantified path patterns) as a start step; its subset and answers may still change between versions.EXCEPT/INTERSECT, shortest paths and a quantifier nested in a quantified path pattern are not supported yet, an uncorrelatedCALLbody runs once per row (no caching), and Cypher'sFOREACHis not supported yet (useFOR x IN listbefore the write). - Saved queries only read and are called at the start of a traversal (
g.query(..)), not on incoming traversers (Saved Queries).
Schema
- No map type (
additionalPropertieswith a schema), nooneOf/allOf/not, no tuples, and noformatother thanuuid, the date and time formats (date-time,date,local-date-time,time,duration) andvector(Schemas). default/defaultFunctionfill only a label's top-level properties, only when an element is created, and only in modeopen/closed;defaultFunctionknowsuuidv4,uuidv7,nowandtoday; see Defaults on create.
Security and serving
- Read security per element or label does not exist yet; an authorizer decides per request kind and label as the plan states it (Permissions).
- The dev server (
graphersal --server, also MCP and AI Chat) is a local development tool: unstable, bound to the loopback, without authentication (Dev Server and MCP). - Not a Gremlin Server. There is no network protocol for remote Gremlin drivers (gremlin-python, the Java driver); Graphersal is embedded as a library, the CLI or the Python package (Graphersal and TinkerPop).
Concurrency and packaging
- Readers wait for the writer. A graph has one writer at a time and reads wait while a unit writes; a layered storage with snapshot reads is planned (Transactions).
- No npm package. The WebAssembly engine runs the web playground; its JavaScript API is internal to it, and a published npm package is planned.
Other
- Compression rules cover strings at a path of names; values inside arrays are not compressed (Compressed Properties).
- Generated test data is English only.