Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-3190

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • 0.8.0
    • None
    • SQL
    • 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

      Attachments

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

        Activity

          People

            jdere Jason Dere
            the6campbells N Campbell
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: