Replies: 2 comments 1 reply
-
You can parse the expression and get the top-level identifiers, This quickly gets challenging as the expression gets more complicated. We do want to expose syntax tree and bindings, but they're still internal. |
Beta Was this translation helpful? Give feedback.
1 reply
-
FYI parser is now exposed in public surface area. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'd like to parse the formula before executing it :
Use case:
A, B, C, D
, user choose to displayA, B
SELECT A, B FROM MyTable
F = ThisItem.C & ThisItem.D
A, B, F
Here we need to parse formula
F
to know we need to queryC, D
from DB=>
SELECT A, B, C, D FROM MyTable
Is there any way to achieve this ?
Could we expose the formula parser to retrieve used fields ?
Thank you
Beta Was this translation helpful? Give feedback.
All reactions