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

UNION ALL throws schema-not-match exception if one subquery is TRANSFORM and the other is a simple select

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.5.0
    • None
    • None
    • Reviewed

    Description

      select s.key, s.value from
      ( select transform(key, value) using 'cat' as (key, value) from src
      UNION ALL
      select key, value from src) s;

      throws schema-not-match exception.

      Attachments

        1. HIVE-1009.patch
          94 kB
          Ning Zhang

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: