【发布时间】:2021-08-07 22:24:58
【问题描述】:
我正在阅读
它是使用 MySQL 作为时态表连接中的查找表
-- Customers is backed by the JDBC connector and can be used for lookup joins
CREATE TEMPORARY TABLE Customers (
id INT,
name STRING,
country STRING,
zip STRING
) WITH (
'connector' = 'jdbc',
'url' = 'jdbc:mysql://mysqlhost:3306/customerdb',
'table-name' = 'customers'
);
-- enrich each order with customer information
SELECT o.order_id, o.total, c.country, c.zip
FROM Orders AS o
JOIN Customers FOR SYSTEM_TIME AS OF o.proc_time AS c
ON o.customer_id = c.id;
我想知道flink如何与mysql交互,mysql端是否存在temporal join mysql的性能问题。
基本问题是 flink 如何与 mysql 进行时间连接。
【问题讨论】:
标签: apache-flink