diff options
author | Mehant Baid <mehantr@gmail.com> | 2014-04-22 00:30:19 -0700 |
---|---|---|
committer | Jacques Nadeau <jacques@apache.org> | 2014-04-22 19:18:03 -0700 |
commit | 43615c8d085afe762bccd8814891779c60861bbb (patch) | |
tree | 07c0815f8c2b9074cf29499e263761952a3868c6 /common | |
parent | a5ee8f84653d3dff64d83821fc14007514493382 (diff) |
DRILL-323: Handle multiple inputs to math operators correctly.
Diffstat (limited to 'common')
-rw-r--r-- | common/src/main/java/org/apache/drill/common/expression/FunctionCallFactory.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/src/main/java/org/apache/drill/common/expression/FunctionCallFactory.java b/common/src/main/java/org/apache/drill/common/expression/FunctionCallFactory.java index 50fcedafc..8113107dc 100644 --- a/common/src/main/java/org/apache/drill/common/expression/FunctionCallFactory.java +++ b/common/src/main/java/org/apache/drill/common/expression/FunctionCallFactory.java @@ -104,7 +104,7 @@ public class FunctionCallFactory { List<LogicalExpression> l2 = new ArrayList<LogicalExpression>(); l2.add(first); l2.add(args.get(i + 1)); - first = createExpression(opTypes.get(i), ep, args); + first = createExpression(opTypes.get(i), ep, l2); } return first; } |