You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Bill Neubauer (JIRA)" <ji...@apache.org> on 2018/03/22 01:10:00 UTC

[jira] [Created] (BEAM-3910) Support floating point values in Go SDK

Bill Neubauer created BEAM-3910:
-----------------------------------

             Summary: Support floating point values in Go SDK
                 Key: BEAM-3910
                 URL: https://issues.apache.org/jira/browse/BEAM-3910
             Project: Beam
          Issue Type: New Feature
          Components: sdk-go
            Reporter: Bill Neubauer
            Assignee: Bill Neubauer


The Go SDK supports all the integer types of the language, but does not support floats.

My plan for coding is to use the same technique the gob package uses, which results in a compact encoding for simple values.

[https://golang.org/src/encoding/gob/encode.go?#L210|https://golang.org/src/encoding/gob/encode.go#L210] with rationale explained in https://golang.org/pkg/encoding/gob/#hdr-Encoding_Details

The resulting uint is then encoded using the existing coders in coderx.



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