I have a good sql logic inside a table function and when executed with where clause filter, performance is excellent and I know this filter is pushed down to the lowest level based on my logic inside.
But when I wrapped up this table function in a ...