Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-9542

Create UDA does not recognize built-in functions without specifying system keyspace

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 2.2.0 rc2
    • None
    • None
    • Low

    Description

      I'd expect when creating a UDA not to have to specify the system keyspace when using a built-in function for the state or final function. For example:

      CREATE AGGREGATE if not exists ks.my_agg(int) 
      SFUNC ks.adder
      STYPE int
      FINALFUNC intasblob
      ;
      

      Gives me me the error:

      Final function ks.intasblob(int) does not exist or is not a scalar function

      Prefixing with 'system.' fixes the issue. But I was expecting it to resolve as if I were using a built in function elsewhere.

      Attachments

        Activity

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

          People

            snazy Robert Stupp Assign to me
            zackurey Zachary Kurey
            Robert Stupp
            Aleksey Yeschenko
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment