-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor out the Query language from RocksDB #38
Comments
@cetra3, that is correct. We use RocksDB for persistence. So you would insert your JSON into Noise and then do a query on the data. |
@cetra3 As there's no plan to remove the RocksDB dependency, is it OK if I close the issue? |
@vmx, sure. It would be nice to support some other backends (such as postgres + jsonb) in the future, but I understand it would be a huge undertaking. |
We need to do this. The parser should be able to generate AST representation of the query, and from that the rocksdb backend query engine would be generated, or a streaming engine, etc. |
If someone wants to tackle the AST generation, I propose using a parser combinator. It seemed liked a clean/maintainable approach when I did some prototyping. |
I've used POM before for a few things. I'd like to help but I'm not sure where to start |
I've started a parser using LALRPOP (opposed to me recommendation of doing it with a parser combinator). The code is available at https://github.com/vmx/noise-lalrpop. |
I have a use case to match JSON responses from a variety of RESTful APIs and other sources. I'd like to be able to use the query language to parse out a single JSON document or even a JSON array.
Is there a way to do this currently? From the source it looks like it has to be in RocksDB to query it.
The text was updated successfully, but these errors were encountered: