Dremio jobs taking too long to planning

My query contains a “not equal to” condition. I’ve noticed that when I remove this condition, my query works. However, I need to use this condition, but if I let it, the planning error appears.