[
https://issues.apache.org/jira/browse/CALCITE-588?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Julian Hyde resolved CALCITE-588.
---------------------------------
Resolution: Fixed
Fix Version/s: 1.1.0-incubating
Fixed in
http://git-wip-us.apache.org/repos/asf/incubator-calcite/commit/882477b8.
> Allow TableMacro to consume Maps and Collections
> ------------------------------------------------
>
> Key: CALCITE-588
> URL: https://issues.apache.org/jira/browse/CALCITE-588
> Project: Calcite
> Issue Type: Improvement
> Reporter: Vladimir Dolzhenko
> Assignee: Julian Hyde
> Fix For: 1.1.0-incubating
>
>
> Actually it is not possible to pass to TableMacro smth like
> {code}TABLE(MY_TABLE('simpleName', MAP[ 'key', 'value', 'anotherKey',
> 'anotherValue' ] )){code}
> SqlUserDefinedTableMacro.convertArguments leads to IllegalArgumentException:
> _All arguments of call to macro XXX should be literal._
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)