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

Support array type when query does not produce any rows

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • CBO

    Description

      CREATE TABLE T1 (c1 int, c2 array<int>);
      CREATE TABLE T2 AS SELECT * FROM T1 LIMIT 0;
      describe formatted t2;
      

      The new t2 table schema should be

      POSTHOOK: Input: default@t2
      # col_name            	data_type           	comment             
      c1                  	int                 	                    
      c2                  	array<int>          	                    
      

      Attachments

        Issue Links

          Activity

            People

              kkasa Krisztian Kasa
              kkasa Krisztian Kasa
              Votes:
              0 Vote for this issue
              Watchers:
              1 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 - 1h 40m
                  1h 40m