jolynch opened a new pull request, #3707:
URL: https://github.com/apache/cassandra/pull/3707

   Previously users would either have to read the data and check the length 
themselves or enable UDF and register UDFs to check the length of columns. This 
patch adds a subset of the SQL99 (binary) string functions: "octet_length" 
defined on all types and "length" defined on UTF8 strings.
   
   Currently this just supports the 
[`OCTET_LENGTH`](https://sql-99.readthedocs.io/en/latest/chapters/05.html#octet-length-expression)
 SQL99 function for returning number of bytes and not the helpers like 
[BIT_LENGTH] or [CHAR_LENGTH] (or the rest of the standard) and the 
[`LENGTH`](https://www.postgresql.org/docs/9.1/functions-string.html) function 
from PostgreSQL.
   
   Test coverage includes unit tests and fuzz tests, but I need to port the 
fuzz test to quicktheories.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to