Palash Chauhan created PHOENIX-7673:
---------------------------------------
Summary: BSON Condition Function size()
Key: PHOENIX-7673
URL: https://issues.apache.org/jira/browse/PHOENIX-7673
Project: Phoenix
Issue Type: Improvement
Reporter: Palash Chauhan
Fix For: 5.3.0
PHOENIX-7463 provides us with the ability to generate and evaluate AST
(Abstract Syntax Tree) for the BSON condition expression evaluation for it's
SQL type expressions.
The purpose of this Jira is to provide a new internal functions for
BSON_CONDITION_EXPRESSION():
# *size(fieldKey)* => This function returns the a number that represents the
size of the attribute at the given fieldKey in the BSON document. For String,
it is the length of the string. For Binary, this is the number of bytes. For
Sets, Lists and Maps, this is the number of elements.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)