Giannis Polyzos
02/23/2023, 4:16 PMSELECT *
FROM orders
JOIN products
ON orders.productId = products.id
what i realised is its best practise?? to use a temporal join for this, which means changing my query to something like this
SELECT *
FROM orders
JOIN products FOR SYSTEM_TIME AS OF orders.orderTime_ltz
ON orders.productId = products.id
What im trying to undestand is:
1. How is it different and what SYSTEM_TIME AS OF actually enforces
2. Why when the first query works and emits results, when i specify SYSTEM_TIME AS OF i get no outputMartijn Visser
02/23/2023, 4:47 PMGiannis Polyzos
02/25/2023, 11:50 AMtable.exec.source.idle-timeout improves thingsGiannis Polyzos
02/25/2023, 11:51 AM