[
https://issues.apache.org/jira/browse/GEARPUMP-217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15927517#comment-15927517
]
Manu Zhang commented on GEARPUMP-217:
-------------------------------------
[~lvkr10],
I've touched a bit about design in the description. My thought is to leverage
Apache Calcite to translate a SQL query to Gearpump high level DSL. You may
have your own preference in your design, and list pros and cons for each
solution.
[~buddhiayesha2013],
Thank you for your interest. The scope is to support simple streaming SQL
queries like {{select * from kafka}} with {{filter}} and {{groupBy}}.
Manu
> Add SQL support
> ----------------
>
> Key: GEARPUMP-217
> URL: https://issues.apache.org/jira/browse/GEARPUMP-217
> Project: Apache Gearpump
> Issue Type: New Feature
> Components: streaming
> Affects Versions: 0.8.1
> Reporter: Manu Zhang
> Assignee: Manu Zhang
> Labels: gsoc2017, mentor
>
> SQL support will allow those unfamiliar with Scala/Java to use Gearpump. I
> propose to build SQL layer with Apache Calcite because
> 1. It has done the hard job of parsing, translating logical plan to physical
> plan and optimizing.
> 2. It is under active development and has a great community.
> 3. It's proved to be a good solution since Apache Storm, Apache Flink and
> Apache Samza all build their Streaming SQL with Apache Calcite
> Note SQL here actually means Streaming SQL dialects supported by Calcite
> (check reference 1 and 2). Please checkout reference 3 for an example
> implementation.
> The physical plan will be translated to Gearpump high level DSL.
> References:
> 1. http://www.slideshare.net/julianhyde/streaming-sql
> 2. https://calcite.apache.org/docs/stream.html
> 3. https://github.com/milinda/samza-sql
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)