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

Add support for native tinyint datatype

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • None
    • None
    • 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

        There are no Sub-Tasks for this issue.

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: