HI there, I am working with Table API for the very...
# troubleshooting
n
HI there, I am working with Table API for the very first time, I want to get only updated data from sql query. Got the below error. Now I Replaced
TableResult tableResult = tableEnv.executeSql(sqlQuery);
instead of
Table table tableEnv.sqlQuery(sqlQuery);
but want to convert tableResult into data stream and not to send to print() sink. It would be really helpful if anyone can help.
Copy code
Exception in thread "main" org.apache.flink.table.api.TableException: Table sink '*anonymous_datastream_sink$2*' doesn't support consuming update changes which is produced by node GroupAggregate