You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/04/23 05:53:04 UTC

[jira] [Commented] (BEAM-2018) refine expression of Calcite method/function

    [ https://issues.apache.org/jira/browse/BEAM-2018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15980278#comment-15980278 ] 

ASF GitHub Bot commented on BEAM-2018:
--------------------------------------

GitHub user XuMingmin opened a pull request:

    https://github.com/apache/beam/pull/2656

    [BEAM-2018] refine expression of Calcite method/function

    In this PR, `BeamSQLFnExecutor` is introduced to replace `BeamSQLSpELExecutor`, as the executor of `SqlOperator` expressions.
    
    Several common operators are added here as reference, more are needed to cover all operators defined in `org.apache.calcite.sql.fun.SqlStdOperatorTable`.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/XuMingmin/beam BEAM-2018

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/beam/pull/2656.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #2656
    
----
commit 3ce5f7bae2b5a7e13c9dd2abf9d4111739540175
Author: mingmxu <mi...@ebay.com>
Date:   2017-04-23T05:20:25Z

    redesign BeamSqlExpression to execute Calcite SQL expression.

----


> refine expression of Calcite method/function
> --------------------------------------------
>
>                 Key: BEAM-2018
>                 URL: https://issues.apache.org/jira/browse/BEAM-2018
>             Project: Beam
>          Issue Type: Improvement
>          Components: dsl-sql
>            Reporter: Xu Mingmin
>            Assignee: Xu Mingmin
>
> https://calcite.apache.org/docs/reference.html list the method/functions that are supported in Calcite SQL statements. 
> In this task, it defines an interface on how to mapping SQL expressions(with method/functions, and those without like direct-field reference) into a Java expression that can be evaluated against row records. 
> --It's supposed to replace the reference implementation {{BeamSQLSpELExecutor}} for better capability. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)