DRILL-1461: remove map and list repeated count functions, as they are not working
Project: http://git-wip-us.apache.org/repos/asf/incubator-drill/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-drill/commit/5c220e35 Tree: http://git-wip-us.apache.org/repos/asf/incubator-drill/tree/5c220e35 Diff: http://git-wip-us.apache.org/repos/asf/incubator-drill/diff/5c220e35 Branch: refs/heads/master Commit: 5c220e35a2b0afd6a360de01efd2525dbd5580a0 Parents: 3713881 Author: Steven Phillips <[email protected]> Authored: Tue Sep 30 18:33:08 2014 -0700 Committer: Steven Phillips <[email protected]> Committed: Tue Sep 30 18:33:08 2014 -0700 ---------------------------------------------------------------------- .../drill/exec/expr/fn/impl/SimpleRepeatedFunctions.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/5c220e35/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/SimpleRepeatedFunctions.java ---------------------------------------------------------------------- diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/SimpleRepeatedFunctions.java b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/SimpleRepeatedFunctions.java index 64de402..b1bfa1d 100644 --- a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/SimpleRepeatedFunctions.java +++ b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/SimpleRepeatedFunctions.java @@ -81,7 +81,8 @@ public class SimpleRepeatedFunctions { } } - // TODO - need to confirm that these work + /* + // TODO - need to confirm that these work SMP: They do not @FunctionTemplate(name = "repeated_count", scope = FunctionTemplate.FunctionScope.SIMPLE) public static class RepeatedLengthMap implements DrillSimpleFunc { @@ -98,7 +99,7 @@ public class SimpleRepeatedFunctions { } } - // TODO - need to confirm that these work + // TODO - need to confirm that these work SMP: They do not @FunctionTemplate(name = "repeated_count", scope = FunctionTemplate.FunctionScope.SIMPLE) public static class RepeatedLengthList implements DrillSimpleFunc { @@ -114,6 +115,7 @@ public class SimpleRepeatedFunctions { out.value = input.end - input.start; } } + */ @FunctionTemplate(name = "repeated_count", scope = FunctionTemplate.FunctionScope.SIMPLE) public static class RepeatedLengthBit implements DrillSimpleFunc {
