Uploaded image for project: 'Samza'
  1. Samza
  2. SAMZA-2321

Samza-sql: Introduce REAL Samza sql schema type

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • 1.3
    • None
    • None

    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

      Attachments

        Issue Links

          Activity

            People

              atoomula Aditya Toomula
              atoomula Aditya Toomula
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m