Replies: 1 comment
-
Disregard this RFC - the fuller, better, more up-to-date version of it is in pull-request - #5535 a644162?short_path=ce7bd91#diff-ce7bd916acb982bf37b6388d9c0eb1c29e923f1d0ae157d4f26efc9040b7b1c7 |
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
-
First I need to update those who was not involved in our internal
discussions - idea to serialize to SQL for sending commands to
data nodes have been rejected, and we go full steam with normal
AST way:
statements beyond currently implemented SELECT/VIEW and triggers.
But more experienced colleagues believe that it will be easy to
create AST for them also, so we will try to implement it also.
Also, Mons wanted to look into code examples how AST manipulations
will look like, so please see additional appendix created.
Exporting AST as cdata is easy to do, but in this case it will be
inconvenient to manipulate AST nodes, before sending to cluster nodes.
So there is 2nd, more idiomatic approach suggested - to convert AST
to nested Lua object/tables. Which should simplify some massaging
and provide natural way to serialization to msgpack.
Appendix B - programmatic interfaces
SYNOPSIS
Beta Was this translation helpful? Give feedback.
All reactions