You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Geoffrey Mon (JIRA)" <ji...@apache.org> on 2016/06/22 15:48:57 UTC

[jira] [Commented] (FLINK-4098) Iteration support in Python API

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

Geoffrey Mon commented on FLINK-4098:
-------------------------------------

See https://github.com/GEOFBOT/flink/commit/2af2a0febb7b53dcf8208bc5cc947d3abccad2b6

I am able to use iterations from Python, but for some reason Flink iterations don't work with the Python version of {{.map()}} (and presumably other Python DataSet operations as well, though I haven't tried them yet). I can run iterations that do nothing, but when I add a simple map function like {{lambda val: val + 1}} the Flink job hangs indefinitely on the {{.map()}} iteration operation without any visible error messages. Python iterations also work if I hardcode a Java {{.map()}} into {{applyBulkIterationOperation()}} instead of using the Python {{.map()}}.

> Iteration support in Python API
> -------------------------------
>
>                 Key: FLINK-4098
>                 URL: https://issues.apache.org/jira/browse/FLINK-4098
>             Project: Flink
>          Issue Type: New Feature
>          Components: Python API
>    Affects Versions: 1.0.2
>            Reporter: Geoffrey Mon
>            Priority: Minor
>
> Bulk and delta iterations are not supported in the Python API. Currently working on this at https://github.com/GEOFBOT/flink



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)