I added one custom attribute i.e product_type as backend_type static in my catalog_product_entity
I am using addAttributeToFilter to filter by product_type, this is t