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

CREATE TABLE with STRUCT type

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.5.0
    • Query Processor
    • None
    • Reviewed
    • HIVE-777. CREATE TABLE with STRUCT type. (He Yongqiang via zshao)

    Description

      Currently we only support map/array in type definition.
      We should support STRUCT as well.

      CREATE TABLE abc (
        pageid INT,
        ads STRUCT<adid:INT,location:STRING>,
        userid INT
      );
      

      Attachments

        1. hive-777-2009-8-21-2.patch
          5 kB
          He Yongqiang
        2. hive-777-2009-8-21.patch
          7 kB
          He Yongqiang
        3. hive-777-2009-8-29.patch
          7 kB
          He Yongqiang

        Issue Links

          Activity

            People

              he yongqiang He Yongqiang
              zshao Zheng Shao
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: