Skip to content

Conversation

@SeasonPilot
Copy link
Contributor

@SeasonPilot SeasonPilot commented Dec 12, 2025

What changes were proposed in this pull request?

  • Add Issue363SF1Test and Issue363SF1OptimizedOnlyTest for SF1 scale validation
  • Add bi_graph_schema_sf1.sql with hasCreator edge support
  • Fix issue_363_original.sql vertex type declaration (d:Person)
  • Configure 24 workers for large-scale processing
  • Add data conversion script for LDBC dataset

How was this PR tested?

  • Tests have Added for the changes
  • Production environment verified

Note: SF1 tests currently fail due to GeaFlow framework bug (NullPointerException at InitFetchRequest.toPhysicalSliceMeta:169)

- Add Issue363SF1Test and Issue363SF1OptimizedOnlyTest for SF1 scale validation
- Add bi_graph_schema_sf1.sql with hasCreator edge support
- Fix issue_363_original.sql vertex type declaration (d:Person)
- Configure 24 workers for large-scale processing
- Add data conversion script for LDBC dataset

Note: SF1 tests currently fail due to GeaFlow framework bug
(NullPointerException at InitFetchRequest.toPhysicalSliceMeta:169)
@SeasonPilot
Copy link
Contributor Author

#363

Add missing Apache License 2.0 header to the Python script to ensure
CI approval for Apache RAT license checks.
…opagation

- Change EdgeDirection.IN to EdgeDirection.BOTH for undirected graph semantics
- Replace string comparison with numeric comparison for component IDs
  (fixes: "10" < "8" in lexicographic order → 8 < 10 in numeric order)
- Add compareComponentIds() helper method that falls back to string comparison
  for non-numeric IDs
- Update expected test results for correct component assignments:
  vertices 8,9,10 should have component 8 (not "10")
- Disable SF1 tests in CI (data files not in repository)
…utRef handling

Fix three broken optimization rules that caused 16+ test failures:

1. IdFilterPushdownRule: Fix label validation for RexInputRef
   - Bug: Line 180 blindly assumed referencesTarget=true for any RexInputRef
   - Fix: Use FilterMatchNodeTransposeRule pattern to check if index == fieldCount - 1

2. AnchorNodePriorityRule: Preserve PathInputRef labels in swapJoinCondition
   - Bug: Line 244 created plain RexInputRef, losing PathInputRef.label
   - Fix: Check instanceof PathInputRef and use copy(newIndex) to preserve label

3. GraphJoinReorderRule: Build proper join conditions
   - Bug: Line 297 returned TRUE literal, losing all join constraints
   - Fix: Use GQLRelUtil.createPathJoinCondition() for common-label-based joins

Re-enable all three rules in OptimizeRules.java after fixes.
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.

2 participants