[
https://issues.apache.org/jira/browse/PHOENIX-7663?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Palash Chauhan resolved PHOENIX-7663.
-------------------------------------
Resolution: Fixed
> BSON Condition Function field_type()
> ------------------------------------
>
> Key: PHOENIX-7663
> URL: https://issues.apache.org/jira/browse/PHOENIX-7663
> Project: Phoenix
> Issue Type: Improvement
> Reporter: Palash Chauhan
> Assignee: Palash Chauhan
> Priority: Major
> 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 function for
> BSON_CONDITION_EXPRESSION():
> *field_type(fieldKey, type)* => here, fieldKey is a path in the given BSON
> document. type represents one of the following data types {}. This function
> evaluates to true if the attribute at the specified fieldKey is of the given
> data type, which should be one of the following
> {N,BS,L,B,NULL,M,S,SS,NS,BOOL}
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)