flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fabian Hueske (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-7987) Use RexBuilder when converting Expression to RexNode
Date Mon, 06 Nov 2017 09:26:00 GMT

    [ https://issues.apache.org/jira/browse/FLINK-7987?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16240064#comment-16240064

Fabian Hueske commented on FLINK-7987:

Would we lose validation when there is no schema associated with the {{RexBuilder}} or is
there no validation happening anyway?

Btw. a shortcut to constructing a table and scan node, is adding a values node.

> Use RexBuilder when converting Expression to RexNode
> ----------------------------------------------------
>                 Key: FLINK-7987
>                 URL: https://issues.apache.org/jira/browse/FLINK-7987
>             Project: Flink
>          Issue Type: Improvement
>          Components: Table API & SQL
>            Reporter: Kurt Young
> Currently, when converting {{Expression}} to {{RexNode}}, we passed in a {{RelBuilder}},
which is more complex to construct than {{RexBuilder}}. E.g. we need to push a fake table
and a fake select node into RelBuilder, in order to get input type information. 
> I think in this case, {{RexBuilder}} will be enough for generating {{RexNode}}.

This message was sent by Atlassian JIRA

View raw message