I am trying to replicate the following in Cloud connector extraction job for a table named order_status:
create table `order_status_filtered` as(
SELECT
S.order_id
,S.created_dt
from `order_status` S
where exists (select * from `fact_order` O where O.id = S.order_id)
and S.STATUS NOT IN ('Created','Sale Confirmed','Not Started')
);
I am unable to add the where exists part in the extraction filters.
Is there a way to do it?