Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-45132

Fix IDENTIFIER clause for functions

Rank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      Due to a quirk in the grammar IDENTIFIER('foo')(<somearg>) does not resolve depending on <somearg>.

      Example:
      SELECT IDENTIFIER('abs')(-1) works, but
      SELECT IDENTIFIER('abs')(c1) FROM VALUES(-1) AS T(c1) does not.

      Attachments

        Activity

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

          People

            srielau Serge Rielau
            srielau Serge Rielau
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment