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

The Support for REGEX Column Broken in HIVE 0.13

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • 0.13.0
    • None
    • Query Processor
    • None

    Description

      The Support for REGEX Column is OK in HIVE 0.12, but is broken in HIVE 0.13.
      For example:

      select `key.*` from src limit 1;
      

      will fail in HIVE 0.13 with the following error from SemanticAnalyzer:

      FAILED: SemanticException [Error 10004]: Line 1:7 Invalid table alias or column reference 'key.*': (possible column names are: key, value)
      

      This issue is related to HIVE-6037. When set "hive.support.quoted.identifiers=none", the issue will be gone.

      I am not sure the configuration was intended to break regex column. But at least the documentation needs to be updated: https://cwiki.apache.org/confluence/display/Hive/LanguageManual+Select#LanguageManualSelect-REGEXColumnSpecification

      I would argue backward compatibility is more important.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sunrui Sun Rui
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: