Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-588

Allow TableMacro to consume Maps and Collections

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1.0-incubating
    • Component/s: None
    • Labels:
      None

      Description

      Actually it is not possible to pass to TableMacro smth like

      TABLE(MY_TABLE('simpleName', MAP[ 'key', 'value', 'anotherKey', 'anotherValue' ] ))

      SqlUserDefinedTableMacro.convertArguments leads to IllegalArgumentException: All arguments of call to macro XXX should be literal.

        Attachments

          Activity

            People

            • Assignee:
              julianhyde Julian Hyde
              Reporter:
              vladimir.dolzhenko Vladimir Dolzhenko
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: