Re: How to use Hbase Connector Sink

2020-06-11 Thread Caizhi Weng
Hi, The stack trace indicates that your query schema does not match with your sink schema. It seems that `active_ratio*25 score` in your query is a double value, not a `ROW` you declared in your sink. op <520075...@qq.com> 于2020年6月11日周四 下午3:31写道: > hi > flink1.10,wen i want to sink data to

Re: How to use Hbase Connector Sink

2020-06-11 Thread godfrey he
hi, you should make sure the types of the selected fields and the types of sink table are the same, otherwise you will get the above exception. you can change `active_ratio*25 score` to row type, just like: insert into circle_weight select rowkey, ROW(info) from ( select

How to use Hbase Connector Sink

2020-06-11 Thread op
hi flink1.10??wen i want to sink data to hbase table like this?? bstEnv.sqlUpdate("""CREATE TABLE circle_weight ( rowkey String, info ROW