You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Jason Altekruse (JIRA)" <ji...@apache.org> on 2015/03/06 02:41:39 UTC

[jira] [Created] (DRILL-2395) Improve interpreted expression evaluation to only call the setup method once per batch

Jason Altekruse created DRILL-2395:
--------------------------------------

             Summary: Improve interpreted expression evaluation to only call the setup method once per batch
                 Key: DRILL-2395
                 URL: https://issues.apache.org/jira/browse/DRILL-2395
             Project: Apache Drill
          Issue Type: Improvement
          Components: Functions - Drill
            Reporter: Jason Altekruse
            Assignee: Daniel Barclay (Drill)
            Priority: Minor


This enhancement request came out of the review for a patch for DRILL-2060. Copied below is the discussion from there:

Jinfeng:
Do you have a plan to move setup() call into places such that setup() will be called once for each VectorAccessible input?

In the code compile + evaluation model, doSetup() will be called per batch, in stead of per row.

Jason:
I have started working on a fix for this. Its a little complicated with setting constant inputs before the setup method is called. I'm trying to figure out the best way to share code with the rest of the input passing used in the EvalVisitor. Would you be okay with this being opened as an enhancement request to be merged a little later? Considering the current use of the interpreter this won't have an impact on any actual queries today.





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)