You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Parth Chandra (JIRA)" <ji...@apache.org> on 2015/03/18 23:27:38 UTC

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

     [ https://issues.apache.org/jira/browse/DRILL-2395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Parth Chandra updated DRILL-2395:
---------------------------------
    Fix Version/s: 1.1.0

> 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: Jason Altekruse
>            Priority: Minor
>             Fix For: 1.1.0
>
>
> 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)