Comments (2)
It is possible.
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.
- This is an example for elasticsearch: #176
- for bigquery (different dialect of sql) https://github.com/dataux/dataux/tree/master/backends/bigquery
This ticket above is referring to the fact that WHICH functions to pass down (and which not to) needs to have a cleaner, better way of deciding.
from qlbridge.
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 =(
from qlbridge.
Related Issues (20)
- Convert off of old assert to testify/assert
- Comparing AST's that are unequal size args can panic
- array.index & array.slice should support negative indexing
- Datemath calculations & Detection HOT 1
- Filter Statement Inliner
- Lex issue with [true,"value"]
- Lex/Parse bug for Newline delimited AND (expr,expr) clauses
- Distributed Schema Capable
- 'BETWEEN AND', inclusive or exclusive? HOT 2
- sql.Rewrite refactor HOT 1
- sqlite backend
- create contributors doc
- Allow stripping namespace on Identity Nodes
- The result of `mt.event0 < now()` or `mt.event0 > now()` is false HOT 3
- Field order can break query parsing
- field type in create statement
- weird parse involving identifiers with backticks and dots
- error
- what types of join are supported other than inner ?
- Case when or If else isn't working
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 qlbridge.