Hello,

The dev list does not allow attachments so the stacktrace is missing.
Either you can paste it directly in the body of the email or even better
share a snippet of code that reproduces the problem via a link to GitHub or
other platforms.

Best,
Stamatis

On Mon, Jan 25, 2021 at 8:27 AM [email protected] <[email protected]>
wrote:

> Hi, I have implement myRule that implement ConverterRule,and define my
> DataStreamNode like
>
> public class DataStreamCalc extends Calc implements DataStreamRel {
>     public DataStreamCalc(RelOptCluster cluster, RelTraitSet traits, 
> List<RelHint> hints, RelNode child, RexProgram program) {
>         super(cluster, traits, hints, child, program);
>     }
>
>
>     /**
>      * eg: use  for merge calc
>      */
>     @Override
>     public Calc copy(RelTraitSet traitSet, RelNode child, RexProgram program) 
> {
>         return new 
> DataStreamCalc(getCluster(),getTraitSet(),hints,input,getProgram());
>     }
>
>     @Override
>     public RelOptCost computeSelfCost(RelOptPlanner planner, RelMetadataQuery 
> mq) {
>         return Costs.defaultCost();
>     }
>
>     @Override
>     public DataStream<Row> translateToPlan(FlinkPlanner planner) {
>
>         return null;
>     }
> }
>
> ,I hava add ProjectToCalcRule and FilterToCalcRule. however it still can
> not find BestPlan.
>
> and the stackTrace like the attachment.
>
>
>
>
> ------------------------------
> [email protected]
>

Reply via email to