beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (BEAM-1865) Input Coder of GroupByKey should be a KV Coder in the Python SDK
Date Sat, 08 Apr 2017 02:25:41 GMT


ASF GitHub Bot commented on BEAM-1865:

GitHub user vikkyrk opened a pull request:

    [BEAM-1865]: Fix GroupByKeyInputVisitor for Direct Runner

    Be sure to do all of the following to help us incorporate your contribution
    quickly and easily:
     - [ ] Make sure the PR title is formatted like:
       `[BEAM-<Jira issue #>] Description of pull request`
     - [ ] Make sure tests pass via `mvn clean verify`. (Even better, enable
           Travis-CI on your fork and ensure the whole test matrix passes).
     - [ ] Replace `<Jira issue #>` in the title with the actual Jira issue
           number, if there is one.
     - [ ] If this contribution is large, please file an Apache
           [Individual Contributor License Agreement](
    - Also handle `None` input types which is the case when `TypeOptions.pipeline_type_check`
is disabled.

You can merge this pull request into a Git repository by running:

    $ git pull py_gbk_type_check

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #2470
commit c7f1a44dc5259164f326bef23ff4620b4ffbcb77
Author: Vikas Kedigehalli <>
Date:   2017-04-08T02:22:27Z

    Fix GroupByKeyInputVisitor for Direct Runner


> Input Coder of GroupByKey should be a KV Coder in the Python SDK
> ----------------------------------------------------------------
>                 Key: BEAM-1865
>                 URL:
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-py
>            Reporter: Vikas Kedigehalli
>            Assignee: Vikas Kedigehalli
> `Any` type is consistent with `KV` in python. The coder for `Any` type is a fallback
coder or a `FastPrimitivesCoder`, but for a `GroupByKey` operation this needs to be a `TupleCoder`
to ensure that the generated pipeline representation is runnable on a runner in a different
language (in the Fn API world)

This message was sent by Atlassian JIRA

View raw message