You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Ahmet Altay (JIRA)" <ji...@apache.org> on 2016/11/11 02:01:03 UTC

[jira] [Created] (BEAM-963) runtime_type_check issues

Ahmet Altay created BEAM-963:
--------------------------------

             Summary: runtime_type_check issues
                 Key: BEAM-963
                 URL: https://issues.apache.org/jira/browse/BEAM-963
             Project: Beam
          Issue Type: Bug
          Components: sdk-py
            Reporter: Ahmet Altay
            Priority: Minor


There are two issues related to runtime_type_check, both of them could be reproduced by TypeHintsTest.test_deterministic_key test.

1. runtime_type_check fails with user defined custom class types. because the type given to the type hint and the type that was created during deserialization are not identical.

Repro: Enable runtime_type_check

2. Using repl mode triggers runtime_type_check, even though the default is false.

Repro: change to lines = ['banana,fruit,3', 'kiwi,fruit,2', 'kiwi,fruit,2', 'zucchini,veg,3'] and use repl mode.



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