if ( wdwSpec.getWindowExpressions() != null ) {
for(WindowExpressionSpec expr : wdwSpec.getWindowExpressions()) {
if ( !(expr instanceof WindowFunctionSpec) ) {
try {
PTFExpressionDef eDef = buildExpressionDef(wdwOutShape, expr.getExpression());
WindowExpressionDef wdwEDef = new WindowExpressionDef(eDef);
wdwEDef.setAlias(expr.getAlias());
windowExpressions.add(wdwEDef);
}
catch(HiveException he) {
throw new SemanticException(he);
}