phoenix git commit: PHOENIX-4418 - add locale-awareness to UPPER() and LOWER() functions (addendum)

2018-03-12 Thread tdsilva
Repository: phoenix
Updated Branches:
  refs/heads/master 35a90e4e6 -> cc494a1ba


PHOENIX-4418 - add locale-awareness to UPPER() and LOWER() functions (addendum)


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

Branch: refs/heads/master
Commit: cc494a1ba5f65a2dd87d3e8083cf60efbf8d707a
Parents: 35a90e4
Author: Thomas D'Silva 
Authored: Mon Mar 12 12:01:28 2018 -0700
Committer: Thomas D'Silva 
Committed: Mon Mar 12 12:07:38 2018 -0700

--
 .../phoenix/expression/function/CollationKeyFunction.java  | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/cc494a1b/phoenix-core/src/main/java/org/apache/phoenix/expression/function/CollationKeyFunction.java
--
diff --git 
a/phoenix-core/src/main/java/org/apache/phoenix/expression/function/CollationKeyFunction.java
 
b/phoenix-core/src/main/java/org/apache/phoenix/expression/function/CollationKeyFunction.java
index cd1ef24..9d48feb 100644
--- 
a/phoenix-core/src/main/java/org/apache/phoenix/expression/function/CollationKeyFunction.java
+++ 
b/phoenix-core/src/main/java/org/apache/phoenix/expression/function/CollationKeyFunction.java
@@ -29,7 +29,6 @@ import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 import org.apache.hadoop.hbase.io.ImmutableBytesWritable;
 import org.apache.phoenix.expression.Expression;
-import org.apache.phoenix.expression.LiteralExpression;
 import org.apache.phoenix.parse.FunctionParseNode;
 import org.apache.phoenix.schema.tuple.Tuple;
 import org.apache.phoenix.schema.types.PBoolean;
@@ -190,4 +189,9 @@ public class CollationKeyFunction extends ScalarFunction {
// TODO: Look into calling freeze() on them to be able return 
true here.
return false;
}
+   
+@Override
+public boolean isNullable() {
+return getChildren().get(0).isNullable();
+}
 }



phoenix git commit: PHOENIX-4418 - add locale-awareness to UPPER() and LOWER() functions (addendum)

2018-03-12 Thread tdsilva
Repository: phoenix
Updated Branches:
  refs/heads/5.x-HBase-2.0 7fdf0ab9e -> 3c0dbcc2d


PHOENIX-4418 - add locale-awareness to UPPER() and LOWER() functions (addendum)


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

Branch: refs/heads/5.x-HBase-2.0
Commit: 3c0dbcc2d0a56931929af535152f3c0670f9ce5b
Parents: 7fdf0ab
Author: Thomas D'Silva 
Authored: Mon Mar 12 12:01:28 2018 -0700
Committer: Thomas D'Silva 
Committed: Mon Mar 12 12:30:44 2018 -0700

--
 .../phoenix/expression/function/CollationKeyFunction.java  | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/3c0dbcc2/phoenix-core/src/main/java/org/apache/phoenix/expression/function/CollationKeyFunction.java
--
diff --git 
a/phoenix-core/src/main/java/org/apache/phoenix/expression/function/CollationKeyFunction.java
 
b/phoenix-core/src/main/java/org/apache/phoenix/expression/function/CollationKeyFunction.java
index cd1ef24..9d48feb 100644
--- 
a/phoenix-core/src/main/java/org/apache/phoenix/expression/function/CollationKeyFunction.java
+++ 
b/phoenix-core/src/main/java/org/apache/phoenix/expression/function/CollationKeyFunction.java
@@ -29,7 +29,6 @@ import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 import org.apache.hadoop.hbase.io.ImmutableBytesWritable;
 import org.apache.phoenix.expression.Expression;
-import org.apache.phoenix.expression.LiteralExpression;
 import org.apache.phoenix.parse.FunctionParseNode;
 import org.apache.phoenix.schema.tuple.Tuple;
 import org.apache.phoenix.schema.types.PBoolean;
@@ -190,4 +189,9 @@ public class CollationKeyFunction extends ScalarFunction {
// TODO: Look into calling freeze() on them to be able return 
true here.
return false;
}
+   
+@Override
+public boolean isNullable() {
+return getChildren().get(0).isNullable();
+}
 }



phoenix git commit: PHOENIX-4418 - add locale-awareness to UPPER() and LOWER() functions (addendum)

2018-03-12 Thread tdsilva
Repository: phoenix
Updated Branches:
  refs/heads/4.x-HBase-1.2 8c6cc47a6 -> 4756e0d28


PHOENIX-4418 - add locale-awareness to UPPER() and LOWER() functions (addendum)


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

Branch: refs/heads/4.x-HBase-1.2
Commit: 4756e0d28275610f374a4ed6618fa145ec353182
Parents: 8c6cc47
Author: Thomas D'Silva 
Authored: Mon Mar 12 12:01:28 2018 -0700
Committer: Thomas D'Silva 
Committed: Mon Mar 12 12:30:28 2018 -0700

--
 .../phoenix/expression/function/CollationKeyFunction.java  | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/4756e0d2/phoenix-core/src/main/java/org/apache/phoenix/expression/function/CollationKeyFunction.java
--
diff --git 
a/phoenix-core/src/main/java/org/apache/phoenix/expression/function/CollationKeyFunction.java
 
b/phoenix-core/src/main/java/org/apache/phoenix/expression/function/CollationKeyFunction.java
index cd1ef24..9d48feb 100644
--- 
a/phoenix-core/src/main/java/org/apache/phoenix/expression/function/CollationKeyFunction.java
+++ 
b/phoenix-core/src/main/java/org/apache/phoenix/expression/function/CollationKeyFunction.java
@@ -29,7 +29,6 @@ import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 import org.apache.hadoop.hbase.io.ImmutableBytesWritable;
 import org.apache.phoenix.expression.Expression;
-import org.apache.phoenix.expression.LiteralExpression;
 import org.apache.phoenix.parse.FunctionParseNode;
 import org.apache.phoenix.schema.tuple.Tuple;
 import org.apache.phoenix.schema.types.PBoolean;
@@ -190,4 +189,9 @@ public class CollationKeyFunction extends ScalarFunction {
// TODO: Look into calling freeze() on them to be able return 
true here.
return false;
}
+   
+@Override
+public boolean isNullable() {
+return getChildren().get(0).isNullable();
+}
 }



phoenix git commit: PHOENIX-4418 - add locale-awareness to UPPER() and LOWER() functions (addendum)

2018-03-12 Thread tdsilva
Repository: phoenix
Updated Branches:
  refs/heads/4.x-HBase-1.3 905e25b6b -> a73fb08ca


PHOENIX-4418 - add locale-awareness to UPPER() and LOWER() functions (addendum)


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

Branch: refs/heads/4.x-HBase-1.3
Commit: a73fb08ca8f77e2d22aa81912bad054778c8ddbf
Parents: 905e25b
Author: Thomas D'Silva 
Authored: Mon Mar 12 12:01:28 2018 -0700
Committer: Thomas D'Silva 
Committed: Mon Mar 12 12:30:34 2018 -0700

--
 .../phoenix/expression/function/CollationKeyFunction.java  | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/a73fb08c/phoenix-core/src/main/java/org/apache/phoenix/expression/function/CollationKeyFunction.java
--
diff --git 
a/phoenix-core/src/main/java/org/apache/phoenix/expression/function/CollationKeyFunction.java
 
b/phoenix-core/src/main/java/org/apache/phoenix/expression/function/CollationKeyFunction.java
index cd1ef24..9d48feb 100644
--- 
a/phoenix-core/src/main/java/org/apache/phoenix/expression/function/CollationKeyFunction.java
+++ 
b/phoenix-core/src/main/java/org/apache/phoenix/expression/function/CollationKeyFunction.java
@@ -29,7 +29,6 @@ import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 import org.apache.hadoop.hbase.io.ImmutableBytesWritable;
 import org.apache.phoenix.expression.Expression;
-import org.apache.phoenix.expression.LiteralExpression;
 import org.apache.phoenix.parse.FunctionParseNode;
 import org.apache.phoenix.schema.tuple.Tuple;
 import org.apache.phoenix.schema.types.PBoolean;
@@ -190,4 +189,9 @@ public class CollationKeyFunction extends ScalarFunction {
// TODO: Look into calling freeze() on them to be able return 
true here.
return false;
}
+   
+@Override
+public boolean isNullable() {
+return getChildren().get(0).isNullable();
+}
 }



phoenix git commit: PHOENIX-4418 - add locale-awareness to UPPER() and LOWER() functions (addendum)

2018-03-12 Thread tdsilva
Repository: phoenix
Updated Branches:
  refs/heads/4.x-HBase-1.1 1bfcef641 -> 8b24575e1


PHOENIX-4418 - add locale-awareness to UPPER() and LOWER() functions (addendum)


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

Branch: refs/heads/4.x-HBase-1.1
Commit: 8b24575e152800eab13e32128a9f9403e04e96cb
Parents: 1bfcef6
Author: Thomas D'Silva 
Authored: Mon Mar 12 12:01:28 2018 -0700
Committer: Thomas D'Silva 
Committed: Mon Mar 12 12:11:28 2018 -0700

--
 .../phoenix/expression/function/CollationKeyFunction.java  | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/8b24575e/phoenix-core/src/main/java/org/apache/phoenix/expression/function/CollationKeyFunction.java
--
diff --git 
a/phoenix-core/src/main/java/org/apache/phoenix/expression/function/CollationKeyFunction.java
 
b/phoenix-core/src/main/java/org/apache/phoenix/expression/function/CollationKeyFunction.java
index cd1ef24..9d48feb 100644
--- 
a/phoenix-core/src/main/java/org/apache/phoenix/expression/function/CollationKeyFunction.java
+++ 
b/phoenix-core/src/main/java/org/apache/phoenix/expression/function/CollationKeyFunction.java
@@ -29,7 +29,6 @@ import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 import org.apache.hadoop.hbase.io.ImmutableBytesWritable;
 import org.apache.phoenix.expression.Expression;
-import org.apache.phoenix.expression.LiteralExpression;
 import org.apache.phoenix.parse.FunctionParseNode;
 import org.apache.phoenix.schema.tuple.Tuple;
 import org.apache.phoenix.schema.types.PBoolean;
@@ -190,4 +189,9 @@ public class CollationKeyFunction extends ScalarFunction {
// TODO: Look into calling freeze() on them to be able return 
true here.
return false;
}
+   
+@Override
+public boolean isNullable() {
+return getChildren().get(0).isNullable();
+}
 }



phoenix git commit: PHOENIX-4418 - add locale-awareness to UPPER() and LOWER() functions (addendum)

2018-03-12 Thread tdsilva
Repository: phoenix
Updated Branches:
  refs/heads/4.x-cdh5.11.2 eb3458912 -> 7f2a04dd8


PHOENIX-4418 - add locale-awareness to UPPER() and LOWER() functions (addendum)


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

Branch: refs/heads/4.x-cdh5.11.2
Commit: 7f2a04dd816ff84e7018e62f6c391775bee52b22
Parents: eb34589
Author: Thomas D'Silva 
Authored: Mon Mar 12 12:01:28 2018 -0700
Committer: Thomas D'Silva 
Committed: Mon Mar 12 12:30:39 2018 -0700

--
 .../phoenix/expression/function/CollationKeyFunction.java  | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/7f2a04dd/phoenix-core/src/main/java/org/apache/phoenix/expression/function/CollationKeyFunction.java
--
diff --git 
a/phoenix-core/src/main/java/org/apache/phoenix/expression/function/CollationKeyFunction.java
 
b/phoenix-core/src/main/java/org/apache/phoenix/expression/function/CollationKeyFunction.java
index cd1ef24..9d48feb 100644
--- 
a/phoenix-core/src/main/java/org/apache/phoenix/expression/function/CollationKeyFunction.java
+++ 
b/phoenix-core/src/main/java/org/apache/phoenix/expression/function/CollationKeyFunction.java
@@ -29,7 +29,6 @@ import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 import org.apache.hadoop.hbase.io.ImmutableBytesWritable;
 import org.apache.phoenix.expression.Expression;
-import org.apache.phoenix.expression.LiteralExpression;
 import org.apache.phoenix.parse.FunctionParseNode;
 import org.apache.phoenix.schema.tuple.Tuple;
 import org.apache.phoenix.schema.types.PBoolean;
@@ -190,4 +189,9 @@ public class CollationKeyFunction extends ScalarFunction {
// TODO: Look into calling freeze() on them to be able return 
true here.
return false;
}
+   
+@Override
+public boolean isNullable() {
+return getChildren().get(0).isNullable();
+}
 }



phoenix git commit: PHOENIX-4418 - add locale-awareness to UPPER() and LOWER() functions (addendum)

2018-03-12 Thread tdsilva
Repository: phoenix
Updated Branches:
  refs/heads/4.x-HBase-0.98 2b36fa2d7 -> 34dd8cc72


PHOENIX-4418 - add locale-awareness to UPPER() and LOWER() functions (addendum)


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

Branch: refs/heads/4.x-HBase-0.98
Commit: 34dd8cc72026229a3606ce21bd3fcf574c6dae11
Parents: 2b36fa2
Author: Thomas D'Silva 
Authored: Mon Mar 12 12:01:28 2018 -0700
Committer: Thomas D'Silva 
Committed: Mon Mar 12 12:10:44 2018 -0700

--
 .../phoenix/expression/function/CollationKeyFunction.java  | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/34dd8cc7/phoenix-core/src/main/java/org/apache/phoenix/expression/function/CollationKeyFunction.java
--
diff --git 
a/phoenix-core/src/main/java/org/apache/phoenix/expression/function/CollationKeyFunction.java
 
b/phoenix-core/src/main/java/org/apache/phoenix/expression/function/CollationKeyFunction.java
index cd1ef24..833a4ad 100644
--- 
a/phoenix-core/src/main/java/org/apache/phoenix/expression/function/CollationKeyFunction.java
+++ 
b/phoenix-core/src/main/java/org/apache/phoenix/expression/function/CollationKeyFunction.java
@@ -29,7 +29,6 @@ import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 import org.apache.hadoop.hbase.io.ImmutableBytesWritable;
 import org.apache.phoenix.expression.Expression;
-import org.apache.phoenix.expression.LiteralExpression;
 import org.apache.phoenix.parse.FunctionParseNode;
 import org.apache.phoenix.schema.tuple.Tuple;
 import org.apache.phoenix.schema.types.PBoolean;
@@ -190,4 +189,9 @@ public class CollationKeyFunction extends ScalarFunction {
// TODO: Look into calling freeze() on them to be able return 
true here.
return false;
}
+   
+@Override
+public boolean isNullable() {
+   return getChildren().get(0).isNullable();
+}
 }