Skip to content

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

Open
lmeyerov wants to merge 3 commits intoissue-1031-grammar-mixed-where-pattern-exprfrom
issue-1219-phase1-audit
Open

Phase 1: #1219 row-boolean WHERE audit + TCK-linked tests#1223
lmeyerov wants to merge 3 commits intoissue-1031-grammar-mixed-where-pattern-exprfrom
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

@lmeyerov lmeyerov marked this pull request as ready for review April 26, 2026 19:48
comparison_val = comparison_val.tz_localize(None)
return prepared_s, comparison_val

def _safe_scalar_compare(
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.

needs careful exhaustive testing across platforms

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