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

void type (null column) cannot be UNIONed with other type

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Query Processor
    • None

    Description

      hive> select * from (select NULL from zshao_tt union all select 1 from zshao_tt)x;
      select * from (select NULL from zshao_tt union all select 1 from zshao_tt)x;
      FAILED: Error in semantic analysis: Schema of both sides of union should match: Column _c0 is of type void on first table and type int on second table

      Attachments

        Issue Links

          Activity

            People

              nzhang Ning Zhang
              nzhang Ning Zhang
              Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: