flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-2668) ProjectOperator method to close projection
Date Thu, 22 Oct 2015 12:56:27 GMT

    [ https://issues.apache.org/jira/browse/FLINK-2668?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14969111#comment-14969111

ASF GitHub Bot commented on FLINK-2668:

Github user fhueske commented on the pull request:

    Thanks for the update, looks good. 
    I will merge this into `master` and `release-0.10` unless somebody objects.

> ProjectOperator method to close projection
> ------------------------------------------
>                 Key: FLINK-2668
>                 URL: https://issues.apache.org/jira/browse/FLINK-2668
>             Project: Flink
>          Issue Type: Improvement
>          Components: Java API
>    Affects Versions: 0.10
>            Reporter: Greg Hogan
>            Priority: Minor
> I have come across an issue in my code where I called project(...) on a {{DataSet}} which
was already a {{ProjectOperator}}. Instead of reducing the number of fields from 2 to 1 this
instead increased the number of fields from 2 to 3 resulting in {{org.apache.flink.api.common.functions.InvalidTypesException:
Input mismatch: Tuple arity '3' expected but was '1'.}} when processing the next operator.
> This can be resolved by adding an optional explicit call to conclude the projection,
perhaps {{ProjectOperator.closeProjection()}}. Can this be done without creating a new no-op

This message was sent by Atlassian JIRA

View raw message