Hive
  1. Hive
  2. HIVE-3190

allow INTEGER as a type name in a column/cast expression (per ISO-SQL 2011)

    Details

    • Type: Improvement Improvement
    • Status: Patch Available
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 0.8.0
    • Fix Version/s: None
    • Component/s: SQL
    • Labels:
      None

      Description

      Just extend the parser to allow INTEGER instead of making folks use INT

      select cast('10' as integer) from cert.tversion tversion

      FAILED: Parse Error: line 1:20 cannot recognize input near 'integer' ')' 'from' in primitive type specification

      1. HIVE-3190.1.patch
        26 kB
        Jason Dere
      2. HIVE-3190.2.patch
        25 kB
        Jason Dere
      3. HIVE-3190.3.patch
        26 kB
        Jason Dere

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Jason Dere
            Reporter:
            N Campbell
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:

              Development