You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Neville Li (JIRA)" <ji...@apache.org> on 2019/06/11 20:35:00 UTC

[jira] [Created] (BEAM-7533) CoderRegistry resolves Float as SerializableCoder

Neville Li created BEAM-7533:
--------------------------------

             Summary: CoderRegistry resolves Float as SerializableCoder
                 Key: BEAM-7533
                 URL: https://issues.apache.org/jira/browse/BEAM-7533
             Project: Beam
          Issue Type: Bug
          Components: sdk-java-core
    Affects Versions: 2.13.0
            Reporter: Neville Li


There's a typo in {{CoderRegistry.CommonTypes}} causing `Float` type to be resolved with {{SerializableCoder}}.

{code:java}
builder.put(
    FloatCoder.class, CoderProviders.fromStaticMethods(Float.class, FloatCoder.class));
{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)