Thanks lot Julian for the tips. I am sure it would be very helpful to everyone around here.
Regards, Yash On Wed, Jun 18, 2014 at 1:41 AM, Julian Hyde <[email protected]> wrote: > On Jun 16, 2014, at 11:18 AM, Yash Sharma <[email protected]> wrote: > > > @ Julian, > > Drill currently uses Optiq as the SQL parser and Query Optimizer. > > I wanted tips from you to start exploring Optiq optimization rules. What > > could be some good places to start understanding/debugging. > > The eigenbase wiki described how to write a rule. See the archived page > [1]. The API has changed somewhat but it covers the concepts well. > > The optiq-csv tutorial [2] also describes how to write a simple rule. > > There are some debugging tips in the HOWTO [3]. > > Julian > > [1] http://www.hydromatic.net/wiki/HowToWriteNewOptimizerRules > [2] https://github.com/julianhyde/optiq-csv/blob/master/TUTORIAL.md > [3] https://github.com/julianhyde/optiq/blob/master/HOWTO.md
