Hi I want to convert Row dataType to JSON while co...
# troubleshooting
k
Hi I want to convert Row dataType to JSON while converting result to datastream, Is there any way?
Copy code
DataStream<Row> dataStream = streamTableEnvironment.toChangelogStream(resultTable);
I want to do it like
Copy code
DataStream<JSON> dataStream = streamTableEnvironment.toChangelogStream(resultTable);
1
Main motive is to sink my data in JSON format when I do with Row it sink in String
Solved issue by converting my data to JSON_object and again get first field