You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tajo.apache.org by "Jihoon Son (JIRA)" <ji...@apache.org> on 2015/05/15 16:04:00 UTC

[jira] [Updated] (TAJO-1577) Add test cases to verify join plans

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

Jihoon Son updated TAJO-1577:
-----------------------------
    Attachment: TAJO-1577.patch

> Add test cases to verify join plans
> -----------------------------------
>
>                 Key: TAJO-1577
>                 URL: https://issues.apache.org/jira/browse/TAJO-1577
>             Project: Tajo
>          Issue Type: Test
>          Components: test
>            Reporter: Jihoon Son
>             Fix For: 0.11.0
>
>         Attachments: TAJO-1577.patch, fix_plan_preprocessor.patch
>
>
> We are lacking test cases to verify query plans even though they directly affect to query processing performance. This is important especially for join queries because their plans can be changed while optimizing join order that affects to performance significantly. So, we need to verify the optimal join plan first.
> There can be some approaches to test query plans. Here are some candidates what I consider.
> * Adding a special class that verifies query plans while traversing it. 
> * Verifying the result of *EXPLAIN* query. 
> I think that the second approach looks good. Here are some reasons.
> * Easy to implement. It's just string match.
> * Easy to verify both logical plan and global plan without adding any special classes to traverse query plan.
> * This is the most important reason. With the second approach, we can guarantee that our query planner is deterministic. 



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