Attach filesAttach ScreenshotVotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      Remove all elements that equal to element from array.

      Syntax:
      array_remove(array, needle)

      Arguments:
      array: An ARRAY to be handled.

      Returns:

      An ARRAY. If array is NULL, the result is NULL. 
      Examples:

      SELECT array_remove(array[1, 2, 3, null, 3], 3); 
      -- [1,2,null]
      

      See also
      spark https://spark.apache.org/docs/latest/api/sql/index.html#array_remove

      presto https://prestodb.io/docs/current/functions/array.html

      postgresql https://www.postgresql.org/docs/12/functions-array.html#ARRAY-FUNCTIONS-TABLE

      Attachments

        Issue Links

        Activity

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

          People

            jackylau Jacky Lau
            jackylau Jacky Lau
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment