[ 
https://issues.apache.org/jira/browse/BEAM-5203?focusedWorklogId=166505&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-166505
 ]

ASF GitHub Bot logged work on BEAM-5203:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 15/Nov/18 16:44
            Start Date: 15/Nov/18 16:44
    Worklog Time Spent: 10m 
      Work Description: apilloud commented on issue #6996: [BEAM-5203] expose 
PaneInfo and BoundedWindow as UDF
URL: https://github.com/apache/beam/pull/6996#issuecomment-439107163
 
 
   (cc: @kennknowles  This has SQL language design implications you should be 
aware of.)
   
   Sorry for missing this the first time, I'll spend the morning looking into 
it. It looks like the actual goal of this is not to add a windowed UDF but to 
add 7 built in functions for using in joins: FIRST_PANE, LAST_PANE, 
PANE_TIMING, PANE_INDEX, WINDOW_TYPE, WINDOW_START, WINDOW_END
   
   There are performance benefits to not running UDFs in window context. I have 
a outstanding PR that removes windows from UDFs entirely: #6417 That same PR 
deletes most of this code. I think adding the functions directly would be more 
compatible with that and could probably be done without changing calcite, so 
let me do some digging.

----------------------------------------------------------------
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:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 166505)
    Time Spent: 1h 10m  (was: 1h)

> expose PaneInfo and BoundedWindow as UDF
> ----------------------------------------
>
>                 Key: BEAM-5203
>                 URL: https://issues.apache.org/jira/browse/BEAM-5203
>             Project: Beam
>          Issue Type: Improvement
>          Components: dsl-sql
>            Reporter: Xu Mingmin
>            Assignee: Xu Mingmin
>            Priority: Major
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> besides adding new keywords in Calcite, there's an alternative way to expose 
> PaneInfo and BoundedWindow of Row by UDF.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to