Re:Re: Flink SQL support array transform function

2023-02-22 Thread Xuekui
Hi Yuxia and Shammon, Thanks for your reply. The requirements is dynamic in my case. If I move the logic into udf, it's not flexiable. For example, there's one users column in my talbe whose type is Rowhttps://nightlies.apache.org/flink/flink-docs-master/docs/dev/table/functions/udfs/#type-i

Re:Re: Flink SQL support array transform function

2023-02-20 Thread Xuekui
Hi YuXia, Thanks for your advice. By adding the hint, the type validation can pass. But still I can't pass the function to this udf Here is my query select array_transform(ids, id -> id +1) from tmp_table The lambda function  id -> id +1 can't be passed because "->" is not supported in cal