haodang commented on issue #10000: [FLINK-14398][SQL/Legacy Planner]Further 
split input unboxing code into separate methods
URL: https://github.com/apache/flink/pull/10000#issuecomment-546552357
 
 
   @wuchong created this PR against `master`.  I also closed the other PR.
   
   There is one thing that I'd like to discuss for this version of 
implementation: technically we haven't split all code blocks inside 
CodeGenerator#reusableInputUnboxingExprs, because currently the split happens 
in CodeGenerator#generateResultExpression and more expressions could be added 
to CodeGenerator#reusableInputUnboxingExprs after 
CodeGenerator#generateResultExpression is called.
   
   The rationale of the current implementation was to minimize splitting and 
split unboxing input code only relevant to those result setters (which was the 
root cause of the JIRA issue). Wanted to hear your thought on this and see if 
there is an approach that fits the codebase better.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to