flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sunjincheng121 <...@git.apache.org>
Subject [GitHub] flink pull request #4055: [FLINK-6817] [table] Fix NPE when preceding is not...
Date Fri, 02 Jun 2017 16:22:09 GMT
Github user sunjincheng121 commented on a diff in the pull request:

    https://github.com/apache/flink/pull/4055#discussion_r119896926
  
    --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/table/api/windows.scala
---
    @@ -91,6 +91,10 @@ class OverWindowWithOrderBy(
         */
       def as(alias: Expression): OverWindow = {
     
    +    if (null == preceding) {
    --- End diff --
    
    For the strict system type, I recommend adding the `OverWindowWithPreceding` class to
guide the user to do the correct operation.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message