phoenix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ramkris...@apache.org
Subject phoenix git commit: PHOENIX-2213 ARRAY_LENGTH fails for Decimal type array (Dumindu Buddhika)
Date Mon, 31 Aug 2015 09:05:16 GMT
Repository: phoenix
Updated Branches:
  refs/heads/4.x-HBase-0.98 d38db555d -> d55cefc56


PHOENIX-2213 ARRAY_LENGTH fails for Decimal type array (Dumindu Buddhika)


Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/d55cefc5
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/d55cefc5
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/d55cefc5

Branch: refs/heads/4.x-HBase-0.98
Commit: d55cefc563471d53d66230dd20a6f7a6786ae2bb
Parents: d38db55
Author: ramkrishna <ramkrishna.s.vasudevan@gmail.com>
Authored: Mon Aug 31 14:34:26 2015 +0530
Committer: ramkrishna <ramkrishna.s.vasudevan@gmail.com>
Committed: Mon Aug 31 14:34:26 2015 +0530

----------------------------------------------------------------------
 .../apache/phoenix/expression/function/ArrayLengthFunction.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/phoenix/blob/d55cefc5/phoenix-core/src/main/java/org/apache/phoenix/expression/function/ArrayLengthFunction.java
----------------------------------------------------------------------
diff --git a/phoenix-core/src/main/java/org/apache/phoenix/expression/function/ArrayLengthFunction.java
b/phoenix-core/src/main/java/org/apache/phoenix/expression/function/ArrayLengthFunction.java
index 1c1c7df..242ca0f 100644
--- a/phoenix-core/src/main/java/org/apache/phoenix/expression/function/ArrayLengthFunction.java
+++ b/phoenix-core/src/main/java/org/apache/phoenix/expression/function/ArrayLengthFunction.java
@@ -27,11 +27,11 @@ import org.apache.phoenix.schema.types.PBinaryArray;
 import org.apache.phoenix.schema.types.PInteger;
 import org.apache.phoenix.schema.types.PArrayDataType;
 import org.apache.phoenix.schema.types.PDataType;
-import org.apache.phoenix.schema.types.PVarbinary;
+import org.apache.phoenix.schema.types.PVarbinaryArray;
 import org.apache.phoenix.schema.tuple.Tuple;
 
 @BuiltInFunction(name = ArrayLengthFunction.NAME, args = { @Argument(allowedTypes = {
-		PBinaryArray.class, PVarbinary.class }) })
+		PBinaryArray.class, PVarbinaryArray.class }) })
 public class ArrayLengthFunction extends ScalarFunction {
 	public static final String NAME = "ARRAY_LENGTH";
 


Mime
View raw message