This is an automated email from the ASF dual-hosted git repository. boaz pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/drill.git.
from 7571d52 DRILL-6381: Address code review comments (part 3). new f39c772 DRILL-6811: Fix type inference to return correct data mode for boolean functions new 18e09a1 DRILL-6763: Codegen optimization of SQL functions with constant values(#1481) The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: .../org/apache/drill/exec/expr/ClassGenerator.java | 54 +++++- .../apache/drill/exec/expr/EvaluationVisitor.java | 186 +++++++++------------ .../expr/fn/interpreter/InterpreterEvaluator.java | 6 +- .../apache/drill/exec/ops/BaseFragmentContext.java | 9 +- .../drill/exec/physical/impl/TopN/TopNBatch.java | 11 +- .../exec/physical/impl/aggregate/HashAggBatch.java | 1 + .../physical/impl/aggregate/HashAggTemplate.java | 15 +- .../physical/impl/aggregate/HashAggregator.java | 7 +- .../physical/impl/common/ChainedHashTable.java | 2 +- .../impl/common/CodeGenMemberInjector.java | 79 +++++++++ .../drill/exec/physical/impl/common/HashTable.java | 10 +- .../physical/impl/common/HashTableTemplate.java | 19 ++- .../exec/physical/impl/join/HashJoinBatch.java | 3 +- .../partitionsender/PartitionSenderRootExec.java | 68 ++++---- .../physical/impl/partitionsender/Partitioner.java | 2 + .../impl/partitionsender/PartitionerTemplate.java | 14 +- .../drill/exec/planner/sql/TypeInferenceUtils.java | 9 +- .../java/org/apache/drill/TestFunctionsQuery.java | 31 ++++ .../drill/TestFunctionsWithTypeExpoQueries.java | 2 +- .../exec/compile/ExampleTemplateWithInner.java | 12 +- .../exec/compile/TestLargeFileCompilation.java | 39 +++++ .../exec/physical/impl/TopN/TopNBatchTest.java | 17 +- .../drill/exec/vector/ValueHolderHelper.java | 36 ++-- 23 files changed, 444 insertions(+), 188 deletions(-) create mode 100644 exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/common/CodeGenMemberInjector.java