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

Use of LEAD in an OVER clauses causes the query to fail

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 0.11.0
    • None
    • PTF-Windowing
    • None

    Description

      Running a query like:

      select i, lead(s) over (partition by bin order by d desc 
                              rows between current row and 1 following) 
      from over100k;
      

      gives an error:

      FAILED: SemanticException Function lead((TOK_TABLE_OR_COL s)) org.apache.hadoop.hive.ql.parse.WindowingSpec$WindowSpec@13e15f7 as _wcol0 doesn't support windowing
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            gates Alan Gates
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: