Milinda,
Factoring the version from SQL to an actual execution plan has a few
benefits. One of the biggest is that the logical plan doesn't vary if the
cluster size or shape or locality changes, but the physical plan does.
This allows the SQL => logical translation and optimization to be
developed, tested and debugged independent of the cluster used.
On Sat, Aug 29, 2015 at 5:36 PM, Milinda Pathirage <mpathira@umail.iu.edu>
wrote:
> Hi devs,
>
> Does anybody know the reason behind having a Drill specific logical plan
> layer (DrillRel) and a physical plan layer (Prel)?
>
> Thanks in advance
> Milinda
>
>
> --
> Milinda Pathirage
>
> PhD Student | Research Assistant
> School of Informatics and Computing | Data to Insight Center
> Indiana University
>
> twitter: milindalakmal
> skype: milinda.pathirage
> blog: http://milinda.pathirage.org
>
|