table_1 has a table_2_id which could be null), where it's relevant to us whether or not the relationships exist. We use Left Joins for this but having RLS defined on table_2 thoughtspot forces an inner join.invoices and customers. An invoice may or may not have a customer, so the invoice's customer_id may be null. We define the join between invoice and customer to be left outer join, so that we can get all invoices regardless of whether or not they have a customer.customer table has no RLS, the query generates correctly, i.e.customer, the engine seems to force an inner joinnull case for the customers as well.