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

select expression with optional "as"

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.4.0
    • Component/s: Query Processor
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      "as" should be optional in select expression. Query like the following should work:

      SELECT a, b FROM (
        SELECT key a, value b
        FROM src
      ) src1
      ORDER BY a LIMIT 1;
      

        Attachments

        1. HIVE-729.2.patch
          4 kB
          Ashish Thusoo
        2. HIVE-729.1.patch
          4 kB
          Zheng Shao

          Issue Links

            Activity

              People

              • Assignee:
                zshao Zheng Shao
                Reporter:
                zshao Zheng Shao
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: