Re: Re:How can I convert a SQL String to a ResolvedExpression?

2022-06-22 Thread Shengkai Fang
Hi. I think you can use Expressions#callSql to convert the String to Expression. Then you can use ExpressionResolver to resolve the converted Expression. Best, Shengkai Qing Lim 于2022年6月22日周三 23:58写道: > Hi Xuyang, > > > > Thanks for the pointer, however it does not seems to achieve what I

RE: Re:How can I convert a SQL String to a ResolvedExpression?

2022-06-22 Thread Qing Lim
Hi Xuyang, Thanks for the pointer, however it does not seems to achieve what I want. I would like to provide the input in String, instead of Expression, and it would be best if I can reuse how flink does it. For example, given a String: "col_a = 20 AND col_b < 10", is there any flink's api