feat(gfql): add public declarative schema model#1457
Open
lmeyerov wants to merge 1 commit into
Open
Conversation
ba92106 to
45c1b2c
Compare
45c1b2c to
582009a
Compare
This was referenced May 15, 2026
dd31542 to
9532bd2
Compare
9532bd2 to
3f3319d
Compare
This was referenced May 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #1337
Summary
graphistry.schemadeclarations:NodeType,EdgeType,GraphSchema,EdgeTopologypyarrow.Schema, Arrow dtype/field mapping values, and GFQLRowSchema, while preservingint/strshorthandpyarrow.Schemawithto_arrow()through the existing GFQL Arrow bridgegraphistry.bind(..., schema=schema)/g.bind(schema=schema)and adapt public schemas into the existing internalGraphSchemaCatalogGraphSchema(strict=False)now makes schema-boundg.gfql_validate(...)permissive by default, while explicit call-levelstrict=Truestill forces strict validationNotes
Validation
python3 -m pytest -q graphistry/tests/compute/gfql/test_public_schema.py graphistry/tests/compute/gfql/cypher/test_binder.py::test_binder_schema_metadata_can_disable_schema_field_checks graphistry/tests/compute/gfql/cypher/test_binder.py::test_binder_schema_enforced_even_when_legacy_strict_name_flag_false->14 passedpython3 -m pytest -q graphistry/tests/compute/gfql/test_public_schema.py graphistry/tests/compute/gfql/test_ir_arrow_bridge.py graphistry/tests/compute/gfql/cypher/test_binder.py->100 passed, 10 warnings./bin/ruff.sh graphistry/compute/gfql_validate.py graphistry/compute/gfql/frontends/cypher/binder.py graphistry/tests/compute/gfql/test_public_schema.py graphistry/tests/compute/gfql/cypher/test_binder.py graphistry/schema.py-> pass./bin/typecheck.sh graphistry/compute/gfql_validate.py graphistry/compute/gfql/frontends/cypher/binder.py graphistry/schema.py-> passpython3 -m compileall -q graphistry/compute/gfql_validate.py graphistry/compute/gfql/frontends/cypher/binder.py graphistry/schema.py-> passgit diff --check origin/master...HEAD-> passorigin/master@94577717; final PR head3f3319d93f3319d9:25.02/gfql PASS,26.02/gfql PASS; selected suite showed366 passed, 5 warnings3f3319d9: duplicatetck-gfql, docs, ReadTheDocs, full AI, core Python, pandas/polars, CodeQL, andno-plans-in-repoall passingLocal
./bin/test-minimal-lite.shwas attempted earlier through a temporarypython -> python3shim and failed in this CPU shell on local CUDA/cuDF initialization (cudaErrorNoDevice) plus GPU-backed UMAP/text paths. GPU validation has since passed ondgx-spark.