So I have this problem where I need to join a column of type collection (‘List’) with a column of integers (‘SAP nr.’). The rows should join if a list (‘List’) contains the integer (‘SAP nr.’)
What would be the best way to do it? I tried doing a cross join, and then filtering out the rows where the list does not contain the integer, but that creates a huge table and is very inefficient time-wise.