Hi Ivan, It sounds like an interesting project, and I think Calcite will definitely help you get there.
However your questions are quite broad so it is difficult to provide a concrete answer. The best place to get started is the official website [1] where there are a lot of examples and use-cases for Calcite. Other than that there have been various discussions in the dev list such as [2] where people have shared many useful resources. Have a look and don't hesitate to come back to us. Good luck with your thesis! Stamatis [1] https://calcite.apache.org/ [2] https://lists.apache.org/thread.html/3b32557adfc19e79e04a2d2e5ffcfa742c21e0fcfa3bd431025020ed@%3Cdev.calcite.apache.org%3E On Thu, May 2, 2019 at 11:30 AM Ivan Grgurina <[email protected]> wrote: > Hi, I'm working with Apache Calcite for my master thesis. > > The idea is to rewrite queries to multiple data sources, and Calcite is a > serious candidate to be the tool for that job. > > At the moment, I'm trying to use Calcite as a library to create rules that > will rewrite queries during planner execution. I'm basing my current > solution on https://github.com/tzolov/calcite-sql-rewriter code. > > My question would be if that's the best practice? What's the best way of > creating a library based on Calcite that will be used in the end-user > applications? What is the dev idea behind connecting that library to > end-user application, as well as connecting it to Calcite? > > I have some idea of how that should work (based on above mentioned tool), > but I would love to hear how do it properly from the devs. > > Thanks > > > *Ivan Grgurina* > > Research Assistant (ZEMRIS) > ------------------------------ > > <https://www.linkedin.com/in/igrgurina/> > <https://www.fer.unizg.hr/ivan.grgurina> > > >
