;>> After I translate a query (SQL text) into a RelNode Tree like this,
>>>
>>> RelNode res = planner.getLogicalPlan(getSqlText());
>>>
>>> What's the simplest way to do/change type inference and set nullability
>> for
>>> all expressions in
is,
> >
> > RelNode res = planner.getLogicalPlan(getSqlText());
> >
> > What's the simplest way to do/change type inference and set nullability
> for
> > all expressions in node res?
> >
> > It seems that RelNode has some type info already like below. It see
.
Best,
Danny Chan
在 2019年10月25日 +0800 AM10:46,Dustin Freeman ,写道:
> Hi All,
>
> After I translate a query (SQL text) into a RelNode Tree like this,
>
> RelNode res = planner.getLogicalPlan(getSqlText());
>
> What's the simplest way to do/change type inference and set
Hi All,
After I translate a query (SQL text) into a RelNode Tree like this,
RelNode res = planner.getLogicalPlan(getSqlText());
What's the simplest way to do/change type inference and set nullability for
all expressions in node res?
It seems that RelNode has some type info already like below