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

Hive: we should be able to specify a column without a table/alias name

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.3.0
    • Query Processor
    • None

    Description

      "SELECT field1, field2 from table1" should work, just as "SELECT table1.field1, table1.field2 from table1"

      For join, the situation will be a bit more complicated. If the 2 join operands have columns of the same name, then we should output an "ambiguity" error.

      Attachments

        Activity

          People

            athusoo Ashish Thusoo
            zshao Zheng Shao
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: