flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fhueske <...@git.apache.org>
Subject [GitHub] flink pull request: [FLINK-3474] support partial aggregate
Date Thu, 03 Mar 2016 09:59:38 GMT
Github user fhueske commented on the pull request:

    Hi @ChengXiangLi, you need copy this code snippet from `DataSetGroupReduce.translateToPlan()`
to `DataSetMap.translateToPlan()` to enforce `Row` as input type:
        expectedType match {
          case Some(typeInfo) if typeInfo.getTypeClass != classOf[Row] =>
             throw new PlanGenException("GroupReduce operations currently only support returning
           case _ => // ok
         val inputDS = input.asInstanceOf[DataSetRel].translateToPlan(
           // tell the input operator that this operator currently only supports Rows as input

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.

View raw message