%flink.ssqlDROPTABLE IF EXISTS ch;
CREATETABLEch (
id String,
name String,
age String,
create_date Date
) WITH (
'connector'='clickhouse',
'url'='jdbc:clickhouse://172.16.8.164:8123/temp',
'table-name'='user_name',
'username'='default',
'password'='',
'format'='json'
);
%flink.ssql(type=update)
select*from ch;
%flink.ssql(type=update)
insert into ch
select'8'as id, '3'as name, '4'as age, cast('2020-01-03'asDATE) as create_date