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

Allow TableMacro to consume Maps and Collections

Rank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersConvert to sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment