You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "HULING (JIRA)" <ji...@apache.org> on 2018/01/19 04:14:00 UTC

[jira] [Created] (CALCITE-2144) PushProjector - it name the field using the name of the operators

HULING created CALCITE-2144:
-------------------------------

             Summary: PushProjector - it name the field using the name of the operators 
                 Key: CALCITE-2144
                 URL: https://issues.apache.org/jira/browse/CALCITE-2144
             Project: Calcite
          Issue Type: Improvement
    Affects Versions: 1.15.0
         Environment:  
{code:java}
// code placeholder
{code}
 

//PushProjector.java (line 505)

 

for (RexNode projExpr : preserveExprs) {
 .........
    newProjects.add(
            Pair.of(newExpr,
           ((RexCall) projExpr).getOperator().getName()));
}
return (Project) RelOptUtil.createProject(
         projChild,Pair.left(newProjects),Pair.right(newProjects),false,relBuilder);

 
            Reporter: HULING
            Assignee: Julian Hyde


PushProjector.java (line 505)

 it name the field using the name of the operators , for example, "*" for MULTIPLY.

But,the field with name "*" usually has speciall means.

I suggest not to use the name of the operators .



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)