Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-44059 Add named argument support for SQL functions
  3. SPARK-43922

Add named argument support in parser for function call

Rank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersConvert to IssueLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.5.0
    • 3.5.0
    • SQL
    • None

    Description

      Today, we are implementing named argument support for user defined functions, some built-in functions, and table-valued functions. For the first step towards building such a feature, we need to make some requisite changes in the parser. 

      To accomplish this, in this issue, we plan to add some new syntax tokens to the parser in Spark. Changes will also be made in the abstract syntax tree builder as well to reflect these new tokens. Such changes will first be restricted to normal function calls (table value functions will be treated separately). 

      Attachments

        Activity

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

          People

            ryu796 Richard Yu
            ryu796 Richard Yu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment