Is it possible put Joins on multiple document types in Same bucket

Thanks Geraldss

It works for me using below query-

SELECT * FROM test INVOICE JOIN test CUSTOMER ON KEYS “CUSTOMER_” || TOSTRING(INVOICE.CUSTOMER_ID) WHERE INVOICE.DOCUMENT_TYPE = “INVOICE” AND CUSTOMER.DOCUMENT_TYPE = “CUSTOMER”;

1 Like