Uploaded image for project: 'Apache Trafodion'
  1. Apache Trafodion
  2. TRAFODION-2060

Add support for native tinyint datatype

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Currently, tinyint datatype(1 byte integer) in trafodion is automatically converted to smallint (2 byte integer) and treated like smallint.
      It causes values that are beyond the tinyint range to be inserted
      and selected.
      Same issue happens with hive tinyint datatypes which are also
      treated as smallint. That causes inconsistent behavior when that
      datatype is accessed or inserted from hive vs. trafodion.

      This jira is to add support for true tinyint datatype in table definitions,
      cast stmts, param typing and handling of hive tables.

        Attachments

          Activity

            People

            • Assignee:
              anoopsharma Anoop Sharma
              Reporter:
              anoopsharma Anoop Sharma
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: