You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a proxy, expressions in SQL could potentially be evaluated in one of several points of the lifecycle:;
Initial Proxy Routing/Evaluation context: ie proxy recieves sql, evaluate before passing through to datastore
DataStore: pass through expressions to db, used for db's that support them natively, either as a function in db, or a translation such as mutations ie col +1 or set type operations in cassandra, n1ql or postgres or mongo
return, after returning data from datastore, before returning to requester, perform manipulations on it.
How to express these 3 different contexts? Currently I think only 1 is supported for update/insert/delete and 2 is not supported at all and 3 for select only.
Hi, sorry for the questions unrelated to this concrete issue.
Could you say, is it possible to pass expressions/filters to a remote datasource with qlbridge?
For example, if I have a REST API like site.com/rest/users and query like select count(*) from users where name = "Joe", can I pass that filter name=Joe to the REST or I should get all users and then filter locally (like full table scan)?
That is not clear to me from the first glance, sorry =(
The exec package is the Query Runtime (a single thread query runtime).
It recognizes Sources (ie, each table name is from a source), each table name is loaded into a schema so that multiple tables can exist in same schema, from different sources.
Each Source TYPE must be implemented to do predicate pushdown (ie, rewrite queries to push down to underlying store). This implementation i call a Generator and basically involves walking the AST of the SQL to re-write and push down.
As a proxy, expressions in SQL could potentially be evaluated in one of several points of the lifecycle:;
col +1
or set type operations in cassandra, n1ql or postgres or mongoHow to express these 3 different contexts? Currently I think only 1 is supported for update/insert/delete and 2 is not supported at all and 3 for select only.
CQL set operation
The text was updated successfully, but these errors were encountered: