You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Vladimir Dolzhenko (JIRA)" <ji...@apache.org> on 2015/02/05 16:08:34 UTC

[jira] [Created] (CALCITE-588) Allow TableMacro to consume Maps and Collections

Vladimir Dolzhenko created CALCITE-588:
------------------------------------------

             Summary: Allow TableMacro to consume Maps and Collections
                 Key: CALCITE-588
                 URL: https://issues.apache.org/jira/browse/CALCITE-588
             Project: Calcite
          Issue Type: Bug
            Reporter: Vladimir Dolzhenko
            Assignee: Julian Hyde


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)