Joining topics
Understand how to join Kafka topic data when querying with Lenses SQL Snapshot concepts engine for Apache Kafka
Joins
CREATE TABLE orders(
_key INT
, orderDate STRING
, customerId STRING
, amount DOUBLE
)
FORMAT(int, avro);
INSERT INTO orders (
_key
, orderDate
, customerId
, amount
)
VALUES
(1, '2018-10-01', '1', 200.50),
(2, '2018-10-11', '1', 813.00),
(3, '2018-10-11', '3', 625.20),
(4, '2018-10-11', '14', 730.00),
(5, '2018-10-11', '10', 440.00),
(6, '2018-10-11', '9', 444.80);Lateral Joins
meter_id
reading
Last updated
Was this helpful?

