INSERT INTO is used together with SELECT to write the selected data to the specified sink.INSERT INTO sink nameSELECT subclause
SELECT query to the sink named KafkaSink1.INSERT INTO KafkaSink1SELECT s1.time_, s1.client_ip, s1.uri, s1.protocol_version, s2.status_code, s2.date_FROM KafkaSource1 AS s1, KafkaSource2 AS s2WHERE s1.time_ = s2.time_ AND s1.client_ip = s2.client_ip;
org.apache.flink.table.api.ValidationException: Could not find any factory will occur when you run the job.flink-connector-kafka-0.11, we recommend you use flink-connector-kafka (without a version number) and set connector.version to universal to support the latest features.INSERT INTO ignores calculated columns in the sink. Assume that a sink is defined as follows. The SELECT clause following INSERT INTO MySink must include a (VARCHAR) and b (BIGINT) and cannot include the calculated column c.CREATE TABLE MySink (a VARCHAR,b BIGINT,c AS PROCTIME()) WITH ( ... ... );
Esta página foi útil?
Você também pode entrar em contato com a Equipe de vendas ou Enviar um tíquete em caso de ajuda.
comentários