[ 
https://issues.apache.org/jira/browse/IGNITE-26637?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Konstantin Orlov reassigned IGNITE-26637:
-----------------------------------------

    Assignee: Konstantin Orlov

> Introduce support of scalar expressions
> ---------------------------------------
>
>                 Key: IGNITE-26637
>                 URL: https://issues.apache.org/jira/browse/IGNITE-26637
>             Project: Ignite
>          Issue Type: Improvement
>          Components: sql ai3
>            Reporter: Konstantin Orlov
>            Assignee: Konstantin Orlov
>            Priority: Major
>              Labels: ignite-3
>
> Scalar expressions is required to implement column's default expression.
> The proposed API is as follow:
> {code}
> @FunctionalInterface
> public interface IgniteScalar<ResultT> {
>     ResultT get(EvaluationContext context);
> }
> public interface ExpressionFactory {
>     /**
>      * Creates scalar expression.
>      *
>      * @param expression String representation of expression to create.
>      * @param resultType A required type of the result.
>      * @return A scalar representing the provided expression.
>      * @param <ResultT> A type of the result.
>      */
>     <ResultT> IgniteScalar<ResultT> scalar(String expression, NativeType 
> resultType);
> }
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to