Comments (3)
Hi @jeffreylovitz!
Thanks for picking up on this. While the opencypher TCK doesn't test for the use of a WHERE
predicate on a CALL
clause, I do think the grammar should support it.
This shouldn't be too hard to add. Would you be interested in doing so? You'd need to add an optional WHERE
predicate to the call-clause
in the parser (https://github.com/cleishm/libcypher-parser/blob/v0.6.2/lib/src/parser.leg#L326-L341), similarly to other clauses that accept this predicate (e.g. https://github.com/cleishm/libcypher-parser/blob/v0.6.2/lib/src/parser.leg#L306), and also update the AST builder call_clause
to accept the AST nodes for the WHERE
.
Cheers,
Chris
from libcypher-parser.
Thanks, @cleishm!
I can give this a shot. If I understand correctly, after making the changes you outline, the CALL
interface will have to be extended for the functionality cypher_ast_call_get_predicate
. Are there other tasks this change entails?
from libcypher-parser.
Resolved by #17
from libcypher-parser.
Related Issues (20)
- Operators precedency HOT 5
- unable to parse `apply` operator with `.` (membership operator) in funcName HOT 4
- Violation of safety checks on children in `cypher_ast_query` constructor HOT 5
- Question on setting parameters HOT 2
- parse error on extraneous parentheses
- Accepting Binary Inputs HOT 1
- Publish New Release
- support `CALL {} (subquery)` HOT 3
- A question regarding numbers representation HOT 1
- APOC support HOT 2
- libcypher-parser allows clause sequences prohibited by the grammar HOT 1
- Neo4j 4 database management commands unimplemented
- Where is the grammar file
- Namespaced functions (e.g. `duration.between`) are rejected HOT 3
- Incorrect constraint error
- cmake build issue when running `tests` HOT 1
- Can we use the latest openCypher grammar to generate the libcypher-parser with PEG/LEG? HOT 1
- Is there any guide for compiling libcypher-parser on windows 64 platform? Thank you HOT 1
- ASC or DESC in the return clause HOT 1
- support fulltext HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libcypher-parser.