DRILL-3361: Include Bit type in the newPartitionFunction freemarker template
Project: http://git-wip-us.apache.org/repos/asf/drill/repo Commit: http://git-wip-us.apache.org/repos/asf/drill/commit/20ec0cd6 Tree: http://git-wip-us.apache.org/repos/asf/drill/tree/20ec0cd6 Diff: http://git-wip-us.apache.org/repos/asf/drill/diff/20ec0cd6 Branch: refs/heads/master Commit: 20ec0cd63ba46d0f6d48ff232cb8650445e85d3a Parents: 8b6fa14 Author: Steven Phillips <[email protected]> Authored: Wed Jun 24 15:31:24 2015 -0700 Committer: Mehant Baid <[email protected]> Committed: Wed Jun 24 16:15:26 2015 -0700 ---------------------------------------------------------------------- exec/java-exec/src/main/codegen/templates/NewValueFunctions.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/drill/blob/20ec0cd6/exec/java-exec/src/main/codegen/templates/NewValueFunctions.java ---------------------------------------------------------------------- diff --git a/exec/java-exec/src/main/codegen/templates/NewValueFunctions.java b/exec/java-exec/src/main/codegen/templates/NewValueFunctions.java index b8ba4cc..d0e99d4 100644 --- a/exec/java-exec/src/main/codegen/templates/NewValueFunctions.java +++ b/exec/java-exec/src/main/codegen/templates/NewValueFunctions.java @@ -36,7 +36,7 @@ import org.apache.drill.exec.record.RecordBatch; public class GNewValueFunctions { <#list vv.types as type> -<#if type.major == "Fixed"> +<#if type.major == "Fixed" || type.major = "Bit"> <#list type.minor as minor> <#list vv.modes as mode>
