[
https://issues.apache.org/jira/browse/BEAM-5203?focusedWorklogId=164266&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-164266
]
ASF GitHub Bot logged work on BEAM-5203:
----------------------------------------
Author: ASF GitHub Bot
Created on: 09/Nov/18 07:21
Start Date: 09/Nov/18 07:21
Worklog Time Spent: 10m
Work Description: XuMingmin opened a new pull request #6996: [BEAM-5203]
expose PaneInfo and BoundedWindow as UDF
URL: https://github.com/apache/beam/pull/6996
Add UDFs to expose `BoundedWindow` and `PaneInfo` details. And it's also a
blocker for (BEAM-5204: reduce restriction of JOIN). Now JOIN is acceptable
only when the upstream is triggered once per window;
Note that, this is the solution using annotation `UDF`. Another potential
way is adding FUNCTION keywords in Calcite-core, it may not be a good idea as
these are Beam-specific concepts, especially `PaneInfo`.
Changes in summary:
1. put `BoundedWindow` and `PaneInfo` in `BeamSqlExpressionEnvironment`;
2. create UDFs in `PaneInfoUdfs` and `WindowUdfs`;
------------------------
Follow this checklist to help us incorporate your contribution quickly and
easily:
- [ ] Format the pull request title like `[BEAM-XXX] Fixes bug in
ApproximateQuantiles`, where you replace `BEAM-XXX` with the appropriate JIRA
issue, if applicable. This will automatically link the pull request to the
issue.
- [ ] If this contribution is large, please file an Apache [Individual
Contributor License Agreement](https://www.apache.org/licenses/icla.pdf).
It will help us expedite review of your Pull Request if you tag someone
(e.g. `@username`) to look at it.
Post-Commit Tests Status (on master branch)
------------------------------------------------------------------------------------------------
Lang | SDK | Apex | Dataflow | Flink | Gearpump | Samza | Spark
--- | --- | --- | --- | --- | --- | --- | ---
Go | [](https://builds.apache.org/job/beam_PostCommit_Go_GradleBuild/lastCompletedBuild/)
| --- | --- | --- | --- | --- | ---
Java | [](https://builds.apache.org/job/beam_PostCommit_Java_GradleBuild/lastCompletedBuild/)
| [](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Apex_Gradle/lastCompletedBuild/)
| [](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Dataflow_Gradle/lastCompletedBuild/)
| [](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Flink_Gradle/lastCompletedBuild/)
[](https://builds.apache.org/job/beam_PostCommit_Java_PVR_Flink/lastCompletedBuild/)
| [](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Gearpump_Gradle/lastCompletedBuild/)
| [](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Samza_Gradle/lastCompletedBuild/)
| [](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Spark_Gradle/lastCompletedBuild/)
Python | [](https://builds.apache.org/job/beam_PostCommit_Python_Verify/lastCompletedBuild/)
| --- | [](https://builds.apache.org/job/beam_PostCommit_Py_VR_Dataflow/lastCompletedBuild/)
</br> [](https://builds.apache.org/job/beam_PostCommit_Py_ValCont/lastCompletedBuild/)
| [](https://builds.apache.org/job/beam_PostCommit_Python_VR_Flink/lastCompletedBuild/)
| --- | --- | ---
----------------------------------------------------------------
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: 164266)
Time Spent: 40m (was: 0.5h)
> 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: 40m
> 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)