[jira] [Created] (CALCITE-4420) Some simple arithmetic operations can be simplified

2020-11-25 Thread Liya Fan (Jira)
Liya Fan created CALCITE-4420: - Summary: Some simple arithmetic operations can be simplified Key: CALCITE-4420 URL: https://issues.apache.org/jira/browse/CALCITE-4420 Project: Calcite Issue Type:

Re: [DISCUSS] Does anybody think this is debuging unfriendly: "call.transformTo(relBuilder.build())"

2020-11-25 Thread JiaTao Tao
Hi Chunwei We can not update all, but we can try our best to make them less. Regards! Aron Tao Chunwei Lei 于2020年11月25日周三 下午3:54写道: > I have the same feeling. But I am +0 on this change considering: > 1) we can not forbid users to write such code. > 2) there might be other codes that are not

Re: [DISCUSS] Does anybody think this is debuging unfriendly: "call.transformTo(relBuilder.build())"

2020-11-25 Thread JiaTao Tao
Hi Julian Mainly I agree with less code is more readable, but over less is also hard to read for the beginner. Regards! Aron Tao Chunwei Lei 于2020年11月25日周三 下午3:54写道: > I have the same feeling. But I am +0 on this change considering: > 1) we can not forbid users to write such code. > 2) there