Why are there so many #Unsupported for supported Expressions? #35
Answered
by
kaikalur
manticore-projects
asked this question in
Q&A
|
I would like to understand better, why so many productions return #Unsupported. SELECT NEXT VALUE FOR a from b;This valid statement is parsed perfectly fine, but instead of a Please care to elaborate the idea behind, I thank you a lot in advance. |
Answered by
kaikalur
Dec 28, 2022
Replies: 2 comments 2 replies
|
Being very curios, I just changed the production: And as expected, I get an useful AST immediately: SELECT NEXT VALUE FOR a from b; |
0 replies
|
We started with what Presto currently supports (for execution) only as real nodes and others as unsupported. In fact, I started with everything as unsupported and changed only those features supported by Presto as real nodes. That way when someone wants to implement a features, they can start with the grammar and go from there. |
2 replies
Answer selected by
manticore-projects
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We started with what Presto currently supports (for execution) only as real nodes and others as unsupported. In fact, I started with everything as unsupported and changed only those features supported by Presto as real nodes. That way when someone wants to implement a features, they can start with the grammar and go from there.