SeasonPilot opened a new pull request, #702:
URL: https://github.com/apache/geaflow/pull/702
### What changes were proposed in this pull request?
Implement ISO-GQL PROPERTY_EXISTS predicate function according to Section
19.13 specification.
**Core Changes:**
- Add PropertyExists UDF class in `org.apache.geaflow.dsl.udf.table.other`
- Register PROPERTY_EXISTS function in BuildInSqlFunctionTable
- Implement three-valued logic (True/False/NULL) for graph elements
- Support vertices, edges, and rows with proper NULL handling
**Features:**
- ISO-GQL Section 19.13 compliant implementation
- Three-valued logic: NULL element → NULL, existing property → TRUE
- Multiple eval() overloads for RowVertex, RowEdge, Row, and Object
- Complete JavaDoc documentation with standard references
**Test Coverage:**
- Unit tests: PropertyExistsTest with 5 test cases
- SQL integration tests: 3 test cases covering SELECT, WHERE, and edge
scenarios
- All tests passed (5/5), Checkstyle: 0 violations
### How was this PR tested?
- [x] Tests have Added for the changes
- Unit tests: PropertyExistsTest.java (5 test methods)
- SQL tests: gql_property_exists_001/002/003.sql
- Test results: 5/5 passed, 0.729s execution time
- [x] Production environment verified
- Build: SUCCESS (geaflow-dsl-plan module)
- Checkstyle: 0 violations
- Apache RAT: All files approved (281 licenses)
- Compilation: No errors or warnings
Closes #359"
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]