commit | d8d558e584e3bbc5894427316cb36a299e66fdbf | [log] [tgz] |
---|---|---|
author | buyingyi <buyingyi@eaa15691-b419-025a-1212-ee371bd00084> | Sun Nov 25 09:27:42 2012 +0000 |
committer | buyingyi <buyingyi@eaa15691-b419-025a-1212-ee371bd00084> | Sun Nov 25 09:27:42 2012 +0000 |
tree | adff0f3920e8c7cbd7ff3071ebc1ae1835d5ba9a | |
parent | 7d7c0b4a43f888bbdd3277cf068e6f0a232a2995 [diff] |
minor fix git-svn-id: https://asterixdb.googlecode.com/svn/branches/asterix_stabilization_printerfix@941 eaa15691-b419-025a-1212-ee371bd00084
diff --git a/asterix-algebra/src/main/java/edu/uci/ics/asterix/optimizer/rules/IntroduceStaticTypeCastRule.java b/asterix-algebra/src/main/java/edu/uci/ics/asterix/optimizer/rules/IntroduceStaticTypeCastRule.java index b38e119..1de0b19 100644 --- a/asterix-algebra/src/main/java/edu/uci/ics/asterix/optimizer/rules/IntroduceStaticTypeCastRule.java +++ b/asterix-algebra/src/main/java/edu/uci/ics/asterix/optimizer/rules/IntroduceStaticTypeCastRule.java
@@ -197,7 +197,7 @@ List<Mutable<ILogicalExpression>> expressionRefs = originalAssign.getExpressions(); ILogicalExpression expr = expressionRefs.get(position).getValue(); if (expr.getExpressionTag() == LogicalExpressionTag.FUNCTION_CALL) { - ScalarFunctionCallExpression funcExpr = (ScalarFunctionCallExpression) expr; + AbstractFunctionCallExpression funcExpr = (AbstractFunctionCallExpression) expr; // that expression has been rewritten, and it will not // fail but just return false if (TypeComputerUtilities.getRequiredType(funcExpr) != null) {