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

Allow TableMacro to consume Maps and Collections

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.1.0-incubating
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: