Skip to content

Phase 1: #1219 row-boolean WHERE audit + TCK-linked tests#1223

Merged
lmeyerov merged 11 commits intomasterfrom
issue-1219-phase1-audit
Apr 28, 2026
Merged

Phase 1: #1219 row-boolean WHERE audit + TCK-linked tests#1223
lmeyerov merged 11 commits intomasterfrom
issue-1219-phase1-audit

Conversation

@lmeyerov
Copy link
Copy Markdown
Contributor

Summary

Phase 1 of #1219 stack: test/audit hardening only (no behavior expansion).

Adds a focused row-boolean WHERE matrix for:

  • base MATCH disjunction/negation semantics (positive cases)
  • connected OPTIONAL MATCH structured WHERE behavior (positive cases)
  • connected OPTIONAL MATCH row-boolean expressions currently unsupported (negative E108 cases)

Why

#1217 (Earley parser) broadens accepted row-boolean shapes. This PR captures current support boundaries with explicit positive/negative coverage and TCK-linked IDs where applicable, so Phase 2 can expand behavior against a fixed audit baseline.

Scope

  • graphistry/tests/compute/gfql/cypher/test_lowering.py
    • added test_issue_1219_row_boolean_audit_* matrix tests

Validation

Ran:

./bin/pytest.sh graphistry/tests/compute/gfql/cypher/test_lowering.py -k "issue_1219_row_boolean_audit" -q

Result: 9 passed.

Stack

Refs #1219

Comment thread graphistry/compute/predicates/comparison.py
@lmeyerov lmeyerov force-pushed the issue-1219-phase1-audit branch from 8fa7324 to eff2a84 Compare April 27, 2026 21:53
@lmeyerov lmeyerov force-pushed the issue-1219-phase1-audit branch from f9fc71d to c8bbe38 Compare April 27, 2026 22:45
@lmeyerov lmeyerov force-pushed the issue-1219-phase1-audit branch from c8bbe38 to 2c6d590 Compare April 27, 2026 22:56
Comment thread .github/workflows/ci.yml Outdated
emit gfql '^graphistry/gfql/|^graphistry/compute/gfql/|^graphistry/compute/gfql_unified\.py$|^graphistry/models/gfql/|^graphistry/Plottable\.py$|^tests/gfql/'
emit cypher_frontend_ci '^\.github/workflows/ci\.yml$|^\.github/workflows/ci-gpu\.yml$|^graphistry/compute/gfql/ir/|^graphistry/compute/gfql/cypher/|^graphistry/compute/gfql/frontends/cypher/|^graphistry/tests/compute/gfql/cypher/|^tests/gfql/ref/'
emit benchmarks '^benchmarks/'
emit docs '^docs/|\.md$|\.rst$|^demos/|^notebooks/'
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bad rebase, lost syntax cleanups

Comment thread .github/workflows/workflow-security.yml Outdated
--jq "[.[] | select(.draft|not) | select(.prerelease|not)][0].tag_name")
fi
if [ -z "${tag}" ] || [ "${tag}" = "null" ]; then
echo "::error::Unable to resolve any stable actionlint release"
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

likely bad rebase too

where_out.append(
compare(
col(predicate.left.alias, predicate.left.property),
col(cast(PropertyRef, predicate.left).alias, cast(PropertyRef, predicate.left).property),
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unchecked casts?

@lmeyerov lmeyerov force-pushed the issue-1219-phase1-audit branch from 2eb6cef to 753dec7 Compare April 27, 2026 23:36
@lmeyerov lmeyerov force-pushed the issue-1219-phase1-audit branch from 8e5a6e5 to e7c0f6a Compare April 27, 2026 23:44
Base automatically changed from issue-1031-grammar-mixed-where-pattern-expr to master April 27, 2026 23:57
@lmeyerov lmeyerov force-pushed the issue-1219-phase1-audit branch from e7c0f6a to 46fc89a Compare April 28, 2026 00:05
@lmeyerov lmeyerov merged commit 3504dce into master Apr 28, 2026
86 of 87 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant