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:50:00 UTC

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

     [ https://issues.apache.org/jira/browse/SAMZA-2321?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aditya updated SAMZA-2321:
--------------------------
    Description: 
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.

Equivalent change in Calcite was made as part of this ticket: https://issues.apache.org/jira/browse/CALCITE-638

  was:
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.


> 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
>            Priority: Major
>
> 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.
> Equivalent change in Calcite was made as part of this ticket: https://issues.apache.org/jira/browse/CALCITE-638



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