drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julian Hyde <jh...@apache.org>
Subject Re: flatten() function, scalar functions, nested ?
Date Tue, 13 Oct 2015 07:16:18 GMT

> On Oct 12, 2015, at 5:47 PM, Jacques Nadeau <jacques@dremio.com> wrote:
> 
> Julian, have you spent time thinking
> about how to extend validator and sql2rel?

To extend the validator, SqlOperator, SqlValidatorNamespace, SqlValidatorScope, SqlValidator
can all be sub-classed — are those enough control points?

You can usually accomplish extensions without changing sql2rel. If possible, use a planner
rule on the output from sql2rel. You’re much less likely to break anything.

Julian
Mime
View raw message