You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Julian Hyde (JIRA)" <ji...@apache.org> on 2017/01/03 17:52:58 UTC
[jira] [Commented] (CALCITE-1515) Support TableFunctionScan in
RelBuilder
[ https://issues.apache.org/jira/browse/CALCITE-1515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15795649#comment-15795649 ]
Julian Hyde commented on CALCITE-1515:
--------------------------------------
[~anmu], You don't need a RelOptTable to create a TableFunctionScan. You need a RexCall. As long as it's a call to a table function you should be set.
> Support TableFunctionScan in RelBuilder
> ---------------------------------------
>
> Key: CALCITE-1515
> URL: https://issues.apache.org/jira/browse/CALCITE-1515
> Project: Calcite
> Issue Type: Bug
> Affects Versions: 1.10.0
> Reporter: Anton Mushin
> Assignee: Julian Hyde
> Priority: Minor
>
> Calcite has a TableFunctionScan, which is a RelNode, takes a function, 0 or more RelNode inputs, and 0 or more other arguments.
> RelBuilder does not support TableFunctionScan yet.
> add In RelBuilder TableFunctionScanFactory which will create LogicalTableFunctionScan like as for LogicalTableScan and factory for others RelNodes [ [example|https://github.com/apache/calcite/blob/master/core/src/main/java/org/apache/calcite/tools/RelBuilder.java#L125] ]
> also adding a functionScan method, analogous to the scan method but for table functions.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)