You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "Hai Lu (Jira)" <ji...@apache.org> on 2019/11/07 00:06:04 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 ]

Hai Lu updated SAMZA-2321:
--------------------------
    Fix Version/s: 1.3

> 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 Toomula
>            Assignee: Aditya Toomula
>            Priority: Major
>             Fix For: 1.3
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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.4#803005)