Tony Wang
02/16/2023, 6:09 AMcreate view test4 as(select *, current_watermark(test1.order_time) as curr, if(test1.order_time > test2.order_time, test1.order_time, test2.order_time) as mt from test1 inner join test2 on test1.product = test2.product where test1.order_time BETWEEN test2.order_time - INTERVAL '1' SECOND and test2.order_time);
and the desc test4 showed that the view doesn't have a watermark defiined. Did I mess up somewhere?David Anderson
02/16/2023, 3:49 PMdesc doesn't accurately reflect whether or not the query result includes watermarks. To know for sure, you can use the view as input to a query that requires watermarks -- e.g., try applying event time windowing to the view and see if the planner will allow it.Tony Wang
02/16/2023, 6:02 PMDavid Anderson
02/16/2023, 6:10 PMTony Wang
02/16/2023, 6:11 PMDavid Anderson
02/16/2023, 6:21 PMTony Wang
02/16/2023, 6:22 PMDavid Anderson
02/16/2023, 6:23 PMIntervalJoinOperator.Tony Wang
02/16/2023, 7:40 PMTony Wang
02/16/2023, 7:40 PMDavid Anderson
02/16/2023, 7:55 PMTony Wang
02/16/2023, 7:56 PMDavid Anderson
02/16/2023, 8:02 PMtable.exec.emit.early-fire.delay to 0, then all windows will be triggered on every element.David Anderson
02/16/2023, 8:03 PMTony Wang
02/16/2023, 8:04 PMDavid Anderson
02/16/2023, 8:04 PMDavid Anderson
02/16/2023, 8:06 PMtable.exec.emit.early-fire.enabled: true to get this working.Tony Wang
02/16/2023, 9:05 PMTony Wang
02/16/2023, 9:05 PMTony Wang
02/16/2023, 9:05 PMDavid Anderson
02/16/2023, 10:04 PMTony Wang
02/16/2023, 10:05 PMTony Wang
02/16/2023, 10:06 PMDavid Anderson
02/16/2023, 11:17 PM