Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-1664 Implement missing binary string built-in functions
  3. PHOENIX-2158

Implement position/substring/trim built-in function for BINARY VARBINARY

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      See PHOENIX-1664

      We will have these functions, but with individual arguments, and below will be the explanation about the function.

      position(string, substring): Location of specified substring. Note that result starts from 1. e.g. position('1', '123') will be 1, and 0 will indicates subtring is not found in string.

      trimb(string, bytes): Remove the longest string containing only the bytes in bytes from the start and end of string

      substr(string, startInt[, lengthInt]): substr for BINARY

      Attachments

        Issue Links

          Activity

            People

              vikashtalanki Vikash Talanki
              shuxi0ng Shuxiong Ye
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: