You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2021/08/24 10:50:09 UTC
[GitHub] [flink] beyond1920 opened a new pull request #16963: [FLINK-23582][docs][table] Add documentation for session window tvf.
beyond1920 opened a new pull request #16963:
URL: https://github.com/apache/flink/pull/16963
## What is the purpose of the change
This pr adds documentation for session window tvf.
## Brief change log
- Window-tvf.md
- window-agg.md
## Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
## Does this pull request potentially affect one of the following parts:
- Dependencies (does it add or upgrade a dependency): (no)
- The public API, i.e., is any changed class annotated with `@Public(Evolving)`: (no)
- The serializers: (no)
- The runtime per-record code paths (performance sensitive): (no)
- Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (no)
- The S3 file system connector: (no)
## Documentation
- Does this pull request introduce a new feature? (no)
- If yes, how is the feature documented? (docs)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] beyond1920 commented on pull request #16963: [FLINK-23582][docs][table] Add documentation for session window tvf.
Posted by GitBox <gi...@apache.org>.
beyond1920 commented on pull request #16963:
URL: https://github.com/apache/flink/pull/16963#issuecomment-966154832
@wuchong @tillrohrmann I prefer to close this pull request. I would create a new pull request after we upgrade the syntax of session window.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] flinkbot edited a comment on pull request #16963: [FLINK-23582][docs][table] Add documentation for session window tvf.
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16963:
URL: https://github.com/apache/flink/pull/16963#issuecomment-904569734
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "6a8c98e15ae97430548eea2b0b604a1fca8fdf5c",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22744",
"triggerID" : "6a8c98e15ae97430548eea2b0b604a1fca8fdf5c",
"triggerType" : "PUSH"
}, {
"hash" : "1c4b1a33c1f9bf173c484913995945d78977ea71",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22833",
"triggerID" : "1c4b1a33c1f9bf173c484913995945d78977ea71",
"triggerType" : "PUSH"
}, {
"hash" : "bb1182570d138520acb2612ad99b152f5938e7e1",
"status" : "SUCCESS",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=23022",
"triggerID" : "bb1182570d138520acb2612ad99b152f5938e7e1",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* bb1182570d138520acb2612ad99b152f5938e7e1 Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=23022)
<details>
<summary>Bot commands</summary>
The @flinkbot bot supports the following commands:
- `@flinkbot run travis` re-run the last Travis build
- `@flinkbot run azure` re-run the last Azure build
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] beyond1920 commented on a change in pull request #16963: [FLINK-23582][docs][table] Add documentation for session window tvf.
Posted by GitBox <gi...@apache.org>.
beyond1920 commented on a change in pull request #16963:
URL: https://github.com/apache/flink/pull/16963#discussion_r698156109
##########
File path: docs/content/docs/dev/table/sql/queries/window-tvf.md
##########
@@ -282,4 +282,64 @@ Here is an example invocation on the Bid table:
+------------------+------------------+-------+
```
+### SESSION
+
+The session windows group elements by sessions of activity. Session windows do not overlap and do not have a fixed start and end time, in contrast to `TUMBLE` windows and `HOP` windows. Instead a session window closes when it does not receive elements for a certain period of time, i.e., when a gap of inactivity occurred.
+
+The `SESSION` function specifies session gap which defines how long the period of inactivity is. When this period expires, the current session closes and subsequent elements are assigned to a new session window.
+
+{{< img src="/fig/session-windows.svg" alt="Session Windows" width="70%">}}
+
+The `SESSION` functions assign windows based on a [time attribute]({{< ref "docs/dev/table/concepts/time_attributes" >}}) column. The return value of `SESSION` is a new relation that includes all columns of original relation as well as additional 3 columns named "window_start", "window_end", "window_time" to indicate the assigned window. The original time attribute "timecol" will be a regular timestamp column after window TVF.
+
+`SESSION` takes three required parameters and one optional parameter.
+
+```sql
+SESSION(TABLE data, DESCRIPTOR(timecol), gap)
+```
+
+- `data`: is a table parameter that can be any relation with an time attribute column.
+- `timecol`: is a column descriptor indicating which [time attributes]({{< ref "docs/dev/table/concepts/time_attributes" >}}) column of data should be mapped to session windows.
+- `KEY`: is an optional parameter. If does not specify `key`, Session window is applied for all input records, otherwise, Session window is applied per key.
+- `gap`: is a duration specifying how long the period of inactivity is. When this period expires, the current session closes and subsequent elements are assigned to a new session window.
+
+Here is an example invocation on the Bid table:
+
+```sql
+-- NOTE: Currently Flink doesn't support evaluating individual window table-valued function,
+-- window table-valued function should be used with aggregate operation,
+-- this example is just used for explaining the syntax and the data produced by table-valued function.
+> SELECT * FROM TABLE(
+ SESSION(TABLE Bid, DESCRIPTOR(bidtime), INTERVAL '3' MINUTES));
+-- or with the named params
+-- note: the DATA param must be the first
+> SELECT * FROM TABLE(
+ SESSION(
+ DATA => TABLE Bid,
+ TIMECOL => DESCRIPTOR(bidtime),
+ GAP => INTERVAL '3' MINUTES));
++------------------+-------+------+------------------+------------------+-------------------------+
+| bidtime | price | item | window_start | window_end | window_time |
++------------------+-------+------+------------------+------------------+-------------------------+
+| 2020-04-15 08:05 | 4.00 | C | 2020-04-15 08:05 | 2020-04-15 08:16 | 2020-04-15 08:15:59.999 |
+| 2020-04-15 08:07 | 2.00 | A | 2020-04-15 08:05 | 2020-04-15 08:16 | 2020-04-15 08:15:59.999 |
+| 2020-04-15 08:09 | 5.00 | D | 2020-04-15 08:05 | 2020-04-15 08:16 | 2020-04-15 08:15:59.999 |
+| 2020-04-15 08:11 | 3.00 | B | 2020-04-15 08:05 | 2020-04-15 08:16 | 2020-04-15 08:15:59.999 |
+| 2020-04-15 08:13 | 1.00 | E | 2020-04-15 08:05 | 2020-04-15 08:16 | 2020-04-15 08:15:59.999 |
+| 2020-04-15 08:17 | 6.00 | F | 2020-04-15 08:17 | 2020-04-15 08:20 | 2020-04-15 08:19:59.999 |
++------------------+-------+------+------------------+------------------+-------------------------+
+
+-- apply aggregation on the session windowed table
+> SELECT window_start, window_end, SUM(price)
+ FROM TABLE(
+ SESSION(TABLE Bid, DESCRIPTOR(bidtime), INTERVAL '3' MINUTES))
Review comment:
done
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] flinkbot edited a comment on pull request #16963: [FLINK-23582][docs][table] Add documentation for session window tvf.
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16963:
URL: https://github.com/apache/flink/pull/16963#issuecomment-904569734
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] flinkbot edited a comment on pull request #16963: [FLINK-23582][docs][table] Add documentation for session window tvf.
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16963:
URL: https://github.com/apache/flink/pull/16963#issuecomment-904569734
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "6a8c98e15ae97430548eea2b0b604a1fca8fdf5c",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22744",
"triggerID" : "6a8c98e15ae97430548eea2b0b604a1fca8fdf5c",
"triggerType" : "PUSH"
}, {
"hash" : "1c4b1a33c1f9bf173c484913995945d78977ea71",
"status" : "SUCCESS",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22833",
"triggerID" : "1c4b1a33c1f9bf173c484913995945d78977ea71",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 1c4b1a33c1f9bf173c484913995945d78977ea71 Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22833)
<details>
<summary>Bot commands</summary>
The @flinkbot bot supports the following commands:
- `@flinkbot run travis` re-run the last Travis build
- `@flinkbot run azure` re-run the last Azure build
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] wuchong commented on a change in pull request #16963: [FLINK-23582][docs][table] Add documentation for session window tvf.
Posted by GitBox <gi...@apache.org>.
wuchong commented on a change in pull request #16963:
URL: https://github.com/apache/flink/pull/16963#discussion_r698127899
##########
File path: docs/content/docs/dev/table/sql/queries/window-tvf.md
##########
@@ -282,4 +282,64 @@ Here is an example invocation on the Bid table:
+------------------+------------------+-------+
```
+### SESSION
+
+The session windows group elements by sessions of activity. Session windows do not overlap and do not have a fixed start and end time, in contrast to `TUMBLE` windows and `HOP` windows. Instead a session window closes when it does not receive elements for a certain period of time, i.e., when a gap of inactivity occurred.
+
+The `SESSION` function specifies session gap which defines how long the period of inactivity is. When this period expires, the current session closes and subsequent elements are assigned to a new session window.
+
+{{< img src="/fig/session-windows.svg" alt="Session Windows" width="70%">}}
+
+The `SESSION` functions assign windows based on a [time attribute]({{< ref "docs/dev/table/concepts/time_attributes" >}}) column. The return value of `SESSION` is a new relation that includes all columns of original relation as well as additional 3 columns named "window_start", "window_end", "window_time" to indicate the assigned window. The original time attribute "timecol" will be a regular timestamp column after window TVF.
+
+`SESSION` takes three required parameters and one optional parameter.
+
+```sql
+SESSION(TABLE data, DESCRIPTOR(timecol), gap)
+```
+
+- `data`: is a table parameter that can be any relation with an time attribute column.
+- `timecol`: is a column descriptor indicating which [time attributes]({{< ref "docs/dev/table/concepts/time_attributes" >}}) column of data should be mapped to session windows.
+- `KEY`: is an optional parameter. If does not specify `key`, Session window is applied for all input records, otherwise, Session window is applied per key.
+- `gap`: is a duration specifying how long the period of inactivity is. When this period expires, the current session closes and subsequent elements are assigned to a new session window.
+
+Here is an example invocation on the Bid table:
+
+```sql
+-- NOTE: Currently Flink doesn't support evaluating individual window table-valued function,
+-- window table-valued function should be used with aggregate operation,
+-- this example is just used for explaining the syntax and the data produced by table-valued function.
+> SELECT * FROM TABLE(
+ SESSION(TABLE Bid, DESCRIPTOR(bidtime), INTERVAL '3' MINUTES));
+-- or with the named params
+-- note: the DATA param must be the first
+> SELECT * FROM TABLE(
+ SESSION(
+ DATA => TABLE Bid,
+ TIMECOL => DESCRIPTOR(bidtime),
+ GAP => INTERVAL '3' MINUTES));
++------------------+-------+------+------------------+------------------+-------------------------+
+| bidtime | price | item | window_start | window_end | window_time |
++------------------+-------+------+------------------+------------------+-------------------------+
+| 2020-04-15 08:05 | 4.00 | C | 2020-04-15 08:05 | 2020-04-15 08:16 | 2020-04-15 08:15:59.999 |
+| 2020-04-15 08:07 | 2.00 | A | 2020-04-15 08:05 | 2020-04-15 08:16 | 2020-04-15 08:15:59.999 |
+| 2020-04-15 08:09 | 5.00 | D | 2020-04-15 08:05 | 2020-04-15 08:16 | 2020-04-15 08:15:59.999 |
+| 2020-04-15 08:11 | 3.00 | B | 2020-04-15 08:05 | 2020-04-15 08:16 | 2020-04-15 08:15:59.999 |
+| 2020-04-15 08:13 | 1.00 | E | 2020-04-15 08:05 | 2020-04-15 08:16 | 2020-04-15 08:15:59.999 |
+| 2020-04-15 08:17 | 6.00 | F | 2020-04-15 08:17 | 2020-04-15 08:20 | 2020-04-15 08:19:59.999 |
++------------------+-------+------+------------------+------------------+-------------------------+
+
+-- apply aggregation on the session windowed table
+> SELECT window_start, window_end, SUM(price)
+ FROM TABLE(
+ SESSION(TABLE Bid, DESCRIPTOR(bidtime), INTERVAL '3' MINUTES))
Review comment:
Could you update the example to show a partitioned session window? I think that is a more usable use case.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] wuchong commented on pull request #16963: [FLINK-23582][docs][table] Add documentation for session window tvf.
Posted by GitBox <gi...@apache.org>.
wuchong commented on pull request #16963:
URL: https://github.com/apache/flink/pull/16963#issuecomment-907080633
The documentation looks good to me. However, it seems that the session window TVF syntax missed to declare partition key. This introduces a wrong sematic when assiging session windows. We should fix it ASAP.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] flinkbot edited a comment on pull request #16963: [FLINK-23582][docs][table] Add documentation for session window tvf.
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16963:
URL: https://github.com/apache/flink/pull/16963#issuecomment-904569734
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "6a8c98e15ae97430548eea2b0b604a1fca8fdf5c",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22744",
"triggerID" : "6a8c98e15ae97430548eea2b0b604a1fca8fdf5c",
"triggerType" : "PUSH"
}, {
"hash" : "1c4b1a33c1f9bf173c484913995945d78977ea71",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22833",
"triggerID" : "1c4b1a33c1f9bf173c484913995945d78977ea71",
"triggerType" : "PUSH"
}, {
"hash" : "bb1182570d138520acb2612ad99b152f5938e7e1",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=23022",
"triggerID" : "bb1182570d138520acb2612ad99b152f5938e7e1",
"triggerType" : "PUSH"
}, {
"hash" : "3f642deaa05216d448a83522964416044891297b",
"status" : "SUCCESS",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=23064",
"triggerID" : "3f642deaa05216d448a83522964416044891297b",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 3f642deaa05216d448a83522964416044891297b Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=23064)
<details>
<summary>Bot commands</summary>
The @flinkbot bot supports the following commands:
- `@flinkbot run travis` re-run the last Travis build
- `@flinkbot run azure` re-run the last Azure build
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] flinkbot edited a comment on pull request #16963: [FLINK-23582][docs][table] Add documentation for session window tvf.
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16963:
URL: https://github.com/apache/flink/pull/16963#issuecomment-904569734
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "6a8c98e15ae97430548eea2b0b604a1fca8fdf5c",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22744",
"triggerID" : "6a8c98e15ae97430548eea2b0b604a1fca8fdf5c",
"triggerType" : "PUSH"
}, {
"hash" : "1c4b1a33c1f9bf173c484913995945d78977ea71",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22833",
"triggerID" : "1c4b1a33c1f9bf173c484913995945d78977ea71",
"triggerType" : "PUSH"
}, {
"hash" : "bb1182570d138520acb2612ad99b152f5938e7e1",
"status" : "SUCCESS",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=23022",
"triggerID" : "bb1182570d138520acb2612ad99b152f5938e7e1",
"triggerType" : "PUSH"
}, {
"hash" : "3f642deaa05216d448a83522964416044891297b",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "3f642deaa05216d448a83522964416044891297b",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* bb1182570d138520acb2612ad99b152f5938e7e1 Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=23022)
* 3f642deaa05216d448a83522964416044891297b UNKNOWN
<details>
<summary>Bot commands</summary>
The @flinkbot bot supports the following commands:
- `@flinkbot run travis` re-run the last Travis build
- `@flinkbot run azure` re-run the last Azure build
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] beyond1920 commented on pull request #16963: [FLINK-23582][docs][table] Add documentation for session window tvf.
Posted by GitBox <gi...@apache.org>.
beyond1920 commented on pull request #16963:
URL: https://github.com/apache/flink/pull/16963#issuecomment-906064228
@godfreyhe Thanks for review, I've updated. Please have a look.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] flinkbot edited a comment on pull request #16963: [FLINK-23582][docs][table] Add documentation for session window tvf.
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16963:
URL: https://github.com/apache/flink/pull/16963#issuecomment-904569734
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "6a8c98e15ae97430548eea2b0b604a1fca8fdf5c",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22744",
"triggerID" : "6a8c98e15ae97430548eea2b0b604a1fca8fdf5c",
"triggerType" : "PUSH"
}, {
"hash" : "1c4b1a33c1f9bf173c484913995945d78977ea71",
"status" : "SUCCESS",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22833",
"triggerID" : "1c4b1a33c1f9bf173c484913995945d78977ea71",
"triggerType" : "PUSH"
}, {
"hash" : "bb1182570d138520acb2612ad99b152f5938e7e1",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "bb1182570d138520acb2612ad99b152f5938e7e1",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 1c4b1a33c1f9bf173c484913995945d78977ea71 Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22833)
* bb1182570d138520acb2612ad99b152f5938e7e1 UNKNOWN
<details>
<summary>Bot commands</summary>
The @flinkbot bot supports the following commands:
- `@flinkbot run travis` re-run the last Travis build
- `@flinkbot run azure` re-run the last Azure build
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] flinkbot edited a comment on pull request #16963: [FLINK-23582][docs][table] Add documentation for session window tvf.
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16963:
URL: https://github.com/apache/flink/pull/16963#issuecomment-904569734
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "6a8c98e15ae97430548eea2b0b604a1fca8fdf5c",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22744",
"triggerID" : "6a8c98e15ae97430548eea2b0b604a1fca8fdf5c",
"triggerType" : "PUSH"
}, {
"hash" : "1c4b1a33c1f9bf173c484913995945d78977ea71",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22833",
"triggerID" : "1c4b1a33c1f9bf173c484913995945d78977ea71",
"triggerType" : "PUSH"
}, {
"hash" : "bb1182570d138520acb2612ad99b152f5938e7e1",
"status" : "SUCCESS",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=23022",
"triggerID" : "bb1182570d138520acb2612ad99b152f5938e7e1",
"triggerType" : "PUSH"
}, {
"hash" : "3f642deaa05216d448a83522964416044891297b",
"status" : "PENDING",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=23064",
"triggerID" : "3f642deaa05216d448a83522964416044891297b",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* bb1182570d138520acb2612ad99b152f5938e7e1 Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=23022)
* 3f642deaa05216d448a83522964416044891297b Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=23064)
<details>
<summary>Bot commands</summary>
The @flinkbot bot supports the following commands:
- `@flinkbot run travis` re-run the last Travis build
- `@flinkbot run azure` re-run the last Azure build
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] beyond1920 commented on pull request #16963: [FLINK-23582][docs][table] Add documentation for session window tvf.
Posted by GitBox <gi...@apache.org>.
beyond1920 commented on pull request #16963:
URL: https://github.com/apache/flink/pull/16963#issuecomment-907732785
@wuchong wu, Thanks a lot for pointing this, I've submit a [pr](https://github.com/apache/flink/pull/17038) to fix it.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] flinkbot edited a comment on pull request #16963: [FLINK-23582][docs][table] Add documentation for session window tvf.
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16963:
URL: https://github.com/apache/flink/pull/16963#issuecomment-904569734
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "6a8c98e15ae97430548eea2b0b604a1fca8fdf5c",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22744",
"triggerID" : "6a8c98e15ae97430548eea2b0b604a1fca8fdf5c",
"triggerType" : "PUSH"
}, {
"hash" : "1c4b1a33c1f9bf173c484913995945d78977ea71",
"status" : "SUCCESS",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22833",
"triggerID" : "1c4b1a33c1f9bf173c484913995945d78977ea71",
"triggerType" : "PUSH"
}, {
"hash" : "bb1182570d138520acb2612ad99b152f5938e7e1",
"status" : "PENDING",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=23022",
"triggerID" : "bb1182570d138520acb2612ad99b152f5938e7e1",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 1c4b1a33c1f9bf173c484913995945d78977ea71 Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22833)
* bb1182570d138520acb2612ad99b152f5938e7e1 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=23022)
<details>
<summary>Bot commands</summary>
The @flinkbot bot supports the following commands:
- `@flinkbot run travis` re-run the last Travis build
- `@flinkbot run azure` re-run the last Azure build
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] flinkbot edited a comment on pull request #16963: [FLINK-23582][docs][table] Add documentation for session window tvf.
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16963:
URL: https://github.com/apache/flink/pull/16963#issuecomment-904569734
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "6a8c98e15ae97430548eea2b0b604a1fca8fdf5c",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22744",
"triggerID" : "6a8c98e15ae97430548eea2b0b604a1fca8fdf5c",
"triggerType" : "PUSH"
}, {
"hash" : "1c4b1a33c1f9bf173c484913995945d78977ea71",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22833",
"triggerID" : "1c4b1a33c1f9bf173c484913995945d78977ea71",
"triggerType" : "PUSH"
}, {
"hash" : "bb1182570d138520acb2612ad99b152f5938e7e1",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=23022",
"triggerID" : "bb1182570d138520acb2612ad99b152f5938e7e1",
"triggerType" : "PUSH"
}, {
"hash" : "3f642deaa05216d448a83522964416044891297b",
"status" : "SUCCESS",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=23064",
"triggerID" : "3f642deaa05216d448a83522964416044891297b",
"triggerType" : "PUSH"
}, {
"hash" : "555342f1bae2b40011f3acf0ded211969011bed9",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "555342f1bae2b40011f3acf0ded211969011bed9",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 3f642deaa05216d448a83522964416044891297b Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=23064)
* 555342f1bae2b40011f3acf0ded211969011bed9 UNKNOWN
<details>
<summary>Bot commands</summary>
The @flinkbot bot supports the following commands:
- `@flinkbot run travis` re-run the last Travis build
- `@flinkbot run azure` re-run the last Azure build
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] godfreyhe commented on a change in pull request #16963: [FLINK-23582][docs][table] Add documentation for session window tvf.
Posted by GitBox <gi...@apache.org>.
godfreyhe commented on a change in pull request #16963:
URL: https://github.com/apache/flink/pull/16963#discussion_r695592782
##########
File path: docs/content.zh/docs/dev/table/sql/queries/window-tvf.md
##########
@@ -282,4 +282,63 @@ Here is an example invocation on the Bid table:
+------------------+------------------+-------+
```
+### SESSION
+
+The session windows groups elements by sessions of activity. Session windows do not overlap and do not have a fixed start and end time, in contrast to `TUMBLE` windows and `HOP` windows. Instead a session window closes when it does not receive elements for a certain period of time, i.e., when a gap of inactivity occurred.
Review comment:
groups -> group
##########
File path: docs/content.zh/docs/dev/table/sql/queries/window-tvf.md
##########
@@ -282,4 +282,63 @@ Here is an example invocation on the Bid table:
+------------------+------------------+-------+
```
+### SESSION
+
+The session windows groups elements by sessions of activity. Session windows do not overlap and do not have a fixed start and end time, in contrast to `TUMBLE` windows and `HOP` windows. Instead a session window closes when it does not receive elements for a certain period of time, i.e., when a gap of inactivity occurred.
+
+The `SESSION` function specifies session gap which defines how long the period of inactivity is. When this period expires, the current session closes and subsequent elements are assigned to a new session window.
+
+{{< img src="/fig/session-windows.svg" alt="Session Windows" width="70%">}}
+
+The `SESSION` functions assigns windows based on a [time attribute]({{< ref "docs/dev/table/concepts/time_attributes" >}}) column. The return value of `SESSION` is a new relation that includes all columns of original relation as well as additional 3 columns named "window_start", "window_end", "window_time" to indicate the assigned window. The original time attribute "timecol" will be a regular timestamp column after window TVF.
Review comment:
assigns -> assign
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] flinkbot edited a comment on pull request #16963: [FLINK-23582][docs][table] Add documentation for session window tvf.
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16963:
URL: https://github.com/apache/flink/pull/16963#issuecomment-904569734
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "6a8c98e15ae97430548eea2b0b604a1fca8fdf5c",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22744",
"triggerID" : "6a8c98e15ae97430548eea2b0b604a1fca8fdf5c",
"triggerType" : "PUSH"
}, {
"hash" : "1c4b1a33c1f9bf173c484913995945d78977ea71",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22833",
"triggerID" : "1c4b1a33c1f9bf173c484913995945d78977ea71",
"triggerType" : "PUSH"
}, {
"hash" : "bb1182570d138520acb2612ad99b152f5938e7e1",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=23022",
"triggerID" : "bb1182570d138520acb2612ad99b152f5938e7e1",
"triggerType" : "PUSH"
}, {
"hash" : "3f642deaa05216d448a83522964416044891297b",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=23064",
"triggerID" : "3f642deaa05216d448a83522964416044891297b",
"triggerType" : "PUSH"
}, {
"hash" : "555342f1bae2b40011f3acf0ded211969011bed9",
"status" : "FAILURE",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=23121",
"triggerID" : "555342f1bae2b40011f3acf0ded211969011bed9",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 555342f1bae2b40011f3acf0ded211969011bed9 Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=23121)
<details>
<summary>Bot commands</summary>
The @flinkbot bot supports the following commands:
- `@flinkbot run azure` re-run the last Azure build
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] flinkbot edited a comment on pull request #16963: [FLINK-23582][docs][table] Add documentation for session window tvf.
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16963:
URL: https://github.com/apache/flink/pull/16963#issuecomment-904569734
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "6a8c98e15ae97430548eea2b0b604a1fca8fdf5c",
"status" : "PENDING",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22744",
"triggerID" : "6a8c98e15ae97430548eea2b0b604a1fca8fdf5c",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 6a8c98e15ae97430548eea2b0b604a1fca8fdf5c Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22744)
<details>
<summary>Bot commands</summary>
The @flinkbot bot supports the following commands:
- `@flinkbot run travis` re-run the last Travis build
- `@flinkbot run azure` re-run the last Azure build
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] flinkbot edited a comment on pull request #16963: [FLINK-23582][docs][table] Add documentation for session window tvf.
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16963:
URL: https://github.com/apache/flink/pull/16963#issuecomment-904569734
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "6a8c98e15ae97430548eea2b0b604a1fca8fdf5c",
"status" : "SUCCESS",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22744",
"triggerID" : "6a8c98e15ae97430548eea2b0b604a1fca8fdf5c",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 6a8c98e15ae97430548eea2b0b604a1fca8fdf5c Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22744)
<details>
<summary>Bot commands</summary>
The @flinkbot bot supports the following commands:
- `@flinkbot run travis` re-run the last Travis build
- `@flinkbot run azure` re-run the last Azure build
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] beyond1920 closed pull request #16963: [FLINK-23582][docs][table] Add documentation for session window tvf.
Posted by GitBox <gi...@apache.org>.
beyond1920 closed pull request #16963:
URL: https://github.com/apache/flink/pull/16963
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] wuchong commented on pull request #16963: [FLINK-23582][docs][table] Add documentation for session window tvf.
Posted by GitBox <gi...@apache.org>.
wuchong commented on pull request #16963:
URL: https://github.com/apache/flink/pull/16963#issuecomment-966102457
@tillrohrmann , we discussed to rework the syntax of session window TVF. There would be a new docs PR to illustrate the new syntax. So I think we can close this PR for now. What do you think @beyond1920 ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] flinkbot edited a comment on pull request #16963: [FLINK-23582][docs][table] Add documentation for session window tvf.
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16963:
URL: https://github.com/apache/flink/pull/16963#issuecomment-904569734
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "6a8c98e15ae97430548eea2b0b604a1fca8fdf5c",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22744",
"triggerID" : "6a8c98e15ae97430548eea2b0b604a1fca8fdf5c",
"triggerType" : "PUSH"
}, {
"hash" : "1c4b1a33c1f9bf173c484913995945d78977ea71",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22833",
"triggerID" : "1c4b1a33c1f9bf173c484913995945d78977ea71",
"triggerType" : "PUSH"
}, {
"hash" : "bb1182570d138520acb2612ad99b152f5938e7e1",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=23022",
"triggerID" : "bb1182570d138520acb2612ad99b152f5938e7e1",
"triggerType" : "PUSH"
}, {
"hash" : "3f642deaa05216d448a83522964416044891297b",
"status" : "SUCCESS",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=23064",
"triggerID" : "3f642deaa05216d448a83522964416044891297b",
"triggerType" : "PUSH"
}, {
"hash" : "555342f1bae2b40011f3acf0ded211969011bed9",
"status" : "PENDING",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=23121",
"triggerID" : "555342f1bae2b40011f3acf0ded211969011bed9",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 3f642deaa05216d448a83522964416044891297b Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=23064)
* 555342f1bae2b40011f3acf0ded211969011bed9 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=23121)
<details>
<summary>Bot commands</summary>
The @flinkbot bot supports the following commands:
- `@flinkbot run travis` re-run the last Travis build
- `@flinkbot run azure` re-run the last Azure build
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] godfreyhe commented on pull request #16963: [FLINK-23582][docs][table] Add documentation for session window tvf.
Posted by GitBox <gi...@apache.org>.
godfreyhe commented on pull request #16963:
URL: https://github.com/apache/flink/pull/16963#issuecomment-906898122
cc @wuchong
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] flinkbot edited a comment on pull request #16963: [FLINK-23582][docs][table] Add documentation for session window tvf.
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16963:
URL: https://github.com/apache/flink/pull/16963#issuecomment-904569734
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "6a8c98e15ae97430548eea2b0b604a1fca8fdf5c",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22744",
"triggerID" : "6a8c98e15ae97430548eea2b0b604a1fca8fdf5c",
"triggerType" : "PUSH"
}, {
"hash" : "1c4b1a33c1f9bf173c484913995945d78977ea71",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22833",
"triggerID" : "1c4b1a33c1f9bf173c484913995945d78977ea71",
"triggerType" : "PUSH"
}, {
"hash" : "bb1182570d138520acb2612ad99b152f5938e7e1",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=23022",
"triggerID" : "bb1182570d138520acb2612ad99b152f5938e7e1",
"triggerType" : "PUSH"
}, {
"hash" : "3f642deaa05216d448a83522964416044891297b",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=23064",
"triggerID" : "3f642deaa05216d448a83522964416044891297b",
"triggerType" : "PUSH"
}, {
"hash" : "555342f1bae2b40011f3acf0ded211969011bed9",
"status" : "FAILURE",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=23121",
"triggerID" : "555342f1bae2b40011f3acf0ded211969011bed9",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 555342f1bae2b40011f3acf0ded211969011bed9 Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=23121)
<details>
<summary>Bot commands</summary>
The @flinkbot bot supports the following commands:
- `@flinkbot run travis` re-run the last Travis build
- `@flinkbot run azure` re-run the last Azure build
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] flinkbot commented on pull request #16963: [FLINK-23582][docs][table] Add documentation for session window tvf.
Posted by GitBox <gi...@apache.org>.
flinkbot commented on pull request #16963:
URL: https://github.com/apache/flink/pull/16963#issuecomment-904534598
Thanks a lot for your contribution to the Apache Flink project. I'm the @flinkbot. I help the community
to review your pull request. We will use this comment to track the progress of the review.
## Automated Checks
Last check on commit fd633869f4ef5def0c3f992260132c9ccb9c1ef4 (Tue Aug 24 10:52:32 UTC 2021)
✅no warnings
<sub>Mention the bot in a comment to re-run the automated checks.</sub>
## Review Progress
* ❓ 1. The [description] looks good.
* ❓ 2. There is [consensus] that the contribution should go into to Flink.
* ❓ 3. Needs [attention] from.
* ❓ 4. The change fits into the overall [architecture].
* ❓ 5. Overall code [quality] is good.
Please see the [Pull Request Review Guide](https://flink.apache.org/contributing/reviewing-prs.html) for a full explanation of the review process.<details>
The Bot is tracking the review progress through labels. Labels are applied according to the order of the review items. For consensus, approval by a Flink committer of PMC member is required <summary>Bot commands</summary>
The @flinkbot bot supports the following commands:
- `@flinkbot approve description` to approve one or more aspects (aspects: `description`, `consensus`, `architecture` and `quality`)
- `@flinkbot approve all` to approve all aspects
- `@flinkbot approve-until architecture` to approve everything until `architecture`
- `@flinkbot attention @username1 [@username2 ..]` to require somebody's attention
- `@flinkbot disapprove architecture` to remove an approval you gave earlier
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] beyond1920 commented on pull request #16963: [FLINK-23582][docs][table] Add documentation for session window tvf.
Posted by GitBox <gi...@apache.org>.
beyond1920 commented on pull request #16963:
URL: https://github.com/apache/flink/pull/16963#issuecomment-908005906
@wuchong Jark, I've updated the pr to add an example to show a partitioned session window and rebase, please have a look again.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] flinkbot edited a comment on pull request #16963: [FLINK-23582][docs][table] Add documentation for session window tvf.
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16963:
URL: https://github.com/apache/flink/pull/16963#issuecomment-904569734
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "6a8c98e15ae97430548eea2b0b604a1fca8fdf5c",
"status" : "SUCCESS",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22744",
"triggerID" : "6a8c98e15ae97430548eea2b0b604a1fca8fdf5c",
"triggerType" : "PUSH"
}, {
"hash" : "1c4b1a33c1f9bf173c484913995945d78977ea71",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "1c4b1a33c1f9bf173c484913995945d78977ea71",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 6a8c98e15ae97430548eea2b0b604a1fca8fdf5c Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22744)
* 1c4b1a33c1f9bf173c484913995945d78977ea71 UNKNOWN
<details>
<summary>Bot commands</summary>
The @flinkbot bot supports the following commands:
- `@flinkbot run travis` re-run the last Travis build
- `@flinkbot run azure` re-run the last Azure build
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] flinkbot edited a comment on pull request #16963: [FLINK-23582][docs][table] Add documentation for session window tvf.
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16963:
URL: https://github.com/apache/flink/pull/16963#issuecomment-904569734
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "6a8c98e15ae97430548eea2b0b604a1fca8fdf5c",
"status" : "SUCCESS",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22744",
"triggerID" : "6a8c98e15ae97430548eea2b0b604a1fca8fdf5c",
"triggerType" : "PUSH"
}, {
"hash" : "1c4b1a33c1f9bf173c484913995945d78977ea71",
"status" : "PENDING",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22833",
"triggerID" : "1c4b1a33c1f9bf173c484913995945d78977ea71",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 6a8c98e15ae97430548eea2b0b604a1fca8fdf5c Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22744)
* 1c4b1a33c1f9bf173c484913995945d78977ea71 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22833)
<details>
<summary>Bot commands</summary>
The @flinkbot bot supports the following commands:
- `@flinkbot run travis` re-run the last Travis build
- `@flinkbot run azure` re-run the last Azure build
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] flinkbot commented on pull request #16963: [FLINK-23582][docs][table] Add documentation for session window tvf.
Posted by GitBox <gi...@apache.org>.
flinkbot commented on pull request #16963:
URL: https://github.com/apache/flink/pull/16963#issuecomment-904569734
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "6a8c98e15ae97430548eea2b0b604a1fca8fdf5c",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "6a8c98e15ae97430548eea2b0b604a1fca8fdf5c",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 6a8c98e15ae97430548eea2b0b604a1fca8fdf5c UNKNOWN
<details>
<summary>Bot commands</summary>
The @flinkbot bot supports the following commands:
- `@flinkbot run travis` re-run the last Travis build
- `@flinkbot run azure` re-run the last Azure build
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] tillrohrmann commented on pull request #16963: [FLINK-23582][docs][table] Add documentation for session window tvf.
Posted by GitBox <gi...@apache.org>.
tillrohrmann commented on pull request #16963:
URL: https://github.com/apache/flink/pull/16963#issuecomment-966095655
@wuchong can we merge this PR?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] wuchong edited a comment on pull request #16963: [FLINK-23582][docs][table] Add documentation for session window tvf.
Posted by GitBox <gi...@apache.org>.
wuchong edited a comment on pull request #16963:
URL: https://github.com/apache/flink/pull/16963#issuecomment-966102457
@tillrohrmann , we discussed to rework the syntax of session window TVF in FLINK-24024. There would be a new docs PR to illustrate the new syntax. So I think we can close this PR for now. What do you think @beyond1920 ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org