[ 
https://issues.apache.org/jira/browse/TAJO-838?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14227203#comment-14227203
 ] 

ASF GitHub Bot commented on TAJO-838:
-------------------------------------

Github user jihoonson commented on a diff in the pull request:

    https://github.com/apache/tajo/pull/231#discussion_r20977436
  
    --- Diff: 
tajo-plan/src/main/java/org/apache/tajo/plan/NamedExprsManager.java ---
    @@ -193,11 +193,11 @@ public String addExpr(Expr expr, String alias) throws 
PlanningException {
        * Adds an expression and returns a reference name.
        * If an alias is given, it specifies the alias as an reference name.
        */
    -  public String addNamedExpr(NamedExpr namedExpr) throws PlanningException 
{
    +  public String addNamedExpr(NamedExpr namedExpr, boolean identifiable) 
throws PlanningException {
         if (namedExpr.hasAlias()) {
           return addExpr(namedExpr.getExpr(), namedExpr.getAlias());
         } else {
    -      return addExpr(namedExpr.getExpr());
    +      return addExpr(namedExpr.getExpr(), identifiable);
    --- End diff --
    
    I'll leave a detailed description for the identifiable name, tomorrow.


> Improve query planner to utilize index
> --------------------------------------
>
>                 Key: TAJO-838
>                 URL: https://issues.apache.org/jira/browse/TAJO-838
>             Project: Tajo
>          Issue Type: Sub-task
>          Components: planner/optimizer
>            Reporter: Jihoon Son
>            Assignee: Jihoon Son
>            Priority: Minor
>
> Index can improve the query performance when the selectivity of query is high.
> Thus, query planner should decide whether index is used or not for a given 
> query.
> The selectivity can be guessed using statistics.



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

Reply via email to