Details in DRILL-6763: Here is the descriptions of the change: 1. add system option `exec.optimize_function_compilation` to toggle to state of this functionality. 2. codegen is changed by declaring setter method in EvaluationVisitor#visitXXXconstants 3. the member declared in step2 is initialized when the instance of the class is created in XXBatch and others 4. attachment is the code of the same query mentioned in DRILL-6763 generated by setting the value of exec.optimize_function_compilation to true @arina-ielchiieva @vdiravka Would you please take a look? What kind of unit tests should be added? [query.txt](https://github.com/apache/drill/files/2418035/query.txt)
[ Full content available at: https://github.com/apache/drill/pull/1481 ] This message was relayed via gitbox.apache.org for [email protected]
