Package org.apache.drill.exec.physical.config

Examples of org.apache.drill.exec.physical.config.WindowPOP


      FieldReference ref = new FieldReference(aggCall.getName());
      LogicalExpression expr = toDrill(aggCall, childFields);
      aggs.add(new NamedExpression(expr, ref));
    }

    WindowPOP windowPOP = new WindowPOP(
        childPOP,
        withins.toArray(new NamedExpression[withins.size()]),
        aggs.toArray(new NamedExpression[aggs.size()]),
        Long.MIN_VALUE, //TODO: Get first/last to work
        Long.MIN_VALUE);
View Full Code Here


      List<Ordering> ods = Lists.newArrayList();

      input = new Sort(input, ods, false);

      return new WindowPOP(input, window.getWithins(), window.getAggregations(), window.getStart(), window.getEnd());
    }
View Full Code Here

TOP

Related Classes of org.apache.drill.exec.physical.config.WindowPOP

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.