the issue about the + in column,can we support the string please?

2018-03-25 Thread 1427357...@qq.com
ctx, ev, (eval1, eval2) => s"(${ctx.javaType(dataType)})($eval1 $symbol $eval2)") case CalendarIntervalType => defineCodeGen(ctx, ev, (eval1, eval2) => s"$eval1.add($eval2)") case _ => defineCodeGen(ctx, ev, (eval1, eval2) => s"$eval1 $symbol $e

Re: Re: the issue about the + in column,can we support the string please?

2018-03-26 Thread 1427357...@qq.com
Hi, Using concat is one of the way. But the + is more intuitive and easy to understand. 1427357...@qq.com From: Shmuel Blitz Date: 2018-03-26 15:31 To: 1427357...@qq.com CC: spark?users; dev Subject: Re: the issue about the + in column,can we support the string please? Hi, you can get the

Re: Re: the issue about the + in column,can we support the string please?

2018-04-01 Thread 1427357...@qq.com
Hi , I checked the code. It seems it is hard to change the code. Current code, string + int is translated to double + double. If I change the the string + int to string + sting, it will incompatible whit old version. Does anyone have better idea about this issue please? 1427357...@qq.com