Re: Building Dynamic SQL using contents of Map datastructure

2023-06-12 Thread Shammon FY
Hi Yogesh, I think you need to build the dynamic SQL statement in your service and then submit the SQL to flink cluster. Best, Shammon FY On Mon, Jun 12, 2023 at 9:15 PM Yogesh Rao wrote: > Hi, > > Is there a way we can build a dynamic SQL in Flink from contents of Map ? > > Essentially trying

Building Dynamic SQL using contents of Map datastructure

2023-06-12 Thread Yogesh Rao
Hi, Is there a way we can build a dynamic SQL in Flink from contents of Map ? Essentially trying to do achieve something like below StringBuilder builder = new StringBuilder("INSERT INTO sampleSink SELECT "); builder.append("getColumnsFromMap(dataMap), "); builder.append(" FROM Data").toString