Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-3282

HiveSqlDialect should unparse INTEGER type as INT in order to be compatible with Hive1.x

    XMLWordPrintableJSON

Details

    Description

      Every database might have different type or same type but different type name, therefore making every SqlDialect unparse their own data type is a suitable way.

      For example, there is a sql “select cast(col as int) from table” change to hive sql "select cast(col as integer) from table", but "integer" is not allowed in hive.

      Attachments

        Activity

          People

            danny0405 Danny Chen
            ffmax feng huang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

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