You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "Aditya (Jira)" <ji...@apache.org> on 2019/09/16 13:48:00 UTC

[jira] [Created] (SAMZA-2321) Samza-sql: Introduce REAL Samza sql schema type

Aditya created SAMZA-2321:
-----------------------------

             Summary: Samza-sql: Introduce REAL Samza sql schema type
                 Key: SAMZA-2321
                 URL: https://issues.apache.org/jira/browse/SAMZA-2321
             Project: Samza
          Issue Type: Bug
            Reporter: Aditya
            Assignee: Aditya


In Sql, REAL is 4-bytes while FLOAT and DOUBLE are both 8-bytes. While is Java and Avro, FLOAT is 4-bytes and DOUBLE is 8-bytes.

Fix the discrepancy in Samza Sql code by introducing REAL Samza Sql schema type and do the right mapping in AvroTypeFactoryImpl and RelSchemaConverter.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)