lushuifeng commented on issue #1481: DRILL-6763: Codegen optimization of SQL functions with constant values URL: https://github.com/apache/drill/pull/1481#issuecomment-424612233 @vvysotskyi Just setters are added, I think others should work as before.  The setup time of Filter changes with or without my change, following my step: 1. toggle the state of exec.optimize_function_compilation 2. query with sql, this one has no cache(the code generated by different state of exec.optimize_function_compilation is not the same): `SELECT full_name, hire_date FROM cp.`employee.json` where last_name = 'Bernard' and hire_date >= '1990-01-01 00:00:00.0';` 3. change the constants in sql, hire_date is changed: `SELECT full_name, hire_date FROM cp.`employee.json` where last_name = 'Bernard' and hire_date >= '1990-01-02 00:00:00.0';` 4. see the profile of the second time in the above
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
