beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stas Levin (JIRA)" <j...@apache.org>
Subject [jira] [Created] (BEAM-2464) Create.of(...) is not properly handled when runner is configured to streaming mode
Date Sun, 18 Jun 2017 15:27:00 GMT
Stas Levin created BEAM-2464:
--------------------------------

             Summary: Create.of(...) is not properly handled when runner is configured to
streaming mode
                 Key: BEAM-2464
                 URL: https://issues.apache.org/jira/browse/BEAM-2464
             Project: Beam
          Issue Type: Bug
          Components: runner-spark
    Affects Versions: 2.0.0
            Reporter: Stas Levin
            Assignee: Amit Sela
            Priority: Minor


When the Spark runner is set to streaming mode, and the input {{PCollection}} is created via
{{Create.of(...)}}, things do not work as expected.

This happens due to the fact the {{EVALUATORS}} map in {{StreamingTransformTranslator}} does
not have a matching {{TransformEvaluator}} for the {{Create.Values}} transform.

I believe this can be fixed by employing a similar approach to the one used for translating
{{CreateStream}}. In fact, it might be quite possible to move things around so that the translation
of {{Create.of(..)}} uses {{CreateStream.of(...)}} under the hood.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message