Github user fhueske commented on a diff in the pull request:

    https://github.com/apache/flink/pull/3863#discussion_r115747425
  
    --- Diff: 
flink-libraries/flink-table/src/test/scala/org/apache/flink/table/runtime/harness/HarnessTestBase.scala
 ---
    @@ -19,15 +19,299 @@ package org.apache.flink.table.runtime.harness
     
     import java.util.{Comparator, Queue => JQueue}
     
    +import org.apache.flink.api.common.time.Time
    +import org.apache.flink.api.common.typeinfo.BasicTypeInfo.{INT_TYPE_INFO, 
LONG_TYPE_INFO, STRING_TYPE_INFO}
     import org.apache.flink.api.common.typeinfo.TypeInformation
     import org.apache.flink.api.java.functions.KeySelector
    +import org.apache.flink.api.java.typeutils.RowTypeInfo
     import org.apache.flink.streaming.api.operators.OneInputStreamOperator
     import org.apache.flink.streaming.api.watermark.Watermark
     import org.apache.flink.streaming.runtime.streamrecord.StreamRecord
     import 
org.apache.flink.streaming.util.{KeyedOneInputStreamOperatorTestHarness, 
TestHarnessUtil}
    -import org.apache.flink.table.runtime.types.CRow
    +import org.apache.flink.table.api.StreamQueryConfig
    +import org.apache.flink.table.codegen.GeneratedAggregationsFunction
    +import org.apache.flink.table.functions.AggregateFunction
    +import 
org.apache.flink.table.functions.aggfunctions.{LongMaxWithRetractAggFunction, 
LongMinWithRetractAggFunction, IntSumWithRetractAggFunction}
    +import org.apache.flink.table.runtime.aggregate.AggregateUtil
    +import org.apache.flink.table.runtime.types.{CRow, CRowTypeInfo}
     
     class HarnessTestBase {
    +
    +  protected var qConfig =
    --- End diff --
    
    I would not make this part of the test base. 
    IMO, the tests are easier to read if we do not have to check the harness 
for all implementations.


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to