beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Work logged] (BEAM-4449) Use Calc instead of Project and Filter separately
Date Fri, 21 Sep 2018 22:45:00 GMT


ASF GitHub Bot logged work on BEAM-4449:

                Author: ASF GitHub Bot
            Created on: 21/Sep/18 22:44
            Start Date: 21/Sep/18 22:44
    Worklog Time Spent: 10m 
      Work Description: amaliujia commented on a change in pull request #6382: [BEAM-4449]
Finish splitting Aggregate and Project

 File path: sdks/java/extensions/sql/src/main/java/org/apache/beam/sdk/extensions/sql/impl/interpreter/
 @@ -504,21 +501,6 @@ private static BeamSqlExpression getBeamSqlExpression(RexNode rexNode)
           ret = new BeamSqlIsNotNullExpression(subExps.get(0));
-        case "HOP":
-        case "TUMBLE":
-        case "SESSION":
-          ret = new BeamSqlWindowExpression(subExps, node.type.getSqlTypeName());
 Review comment:
   It seems that our implementation of window start/end has never worked because Calcite convert
window start to a column reference and window end to a PLUS operation.

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

Issue Time Tracking

    Worklog Id:     (was: 146622)
    Time Spent: 8h 20m  (was: 8h 10m)

> Use Calc instead of Project and Filter separately
> -------------------------------------------------
>                 Key: BEAM-4449
>                 URL:
>             Project: Beam
>          Issue Type: Improvement
>          Components: dsl-sql
>            Reporter: Kenneth Knowles
>            Assignee: Kenneth Knowles
>            Priority: Major
>             Fix For: 2.5.0
>          Time Spent: 8h 20m
>  Remaining Estimate: 0h
> Calcite has a combined Calc operator that is amenable to more optimization, and also
means less code to manage as we adjust how the operators/expressions are implemented.

This message was sent by Atlassian JIRA

View raw message