How to override output (query) for views exposed filter?
It depends on what exactly you want to accomplish, some commonly used hooks are:


hook_views_query_alter
hook_views_pre_render
hook_views_pre_view
There plenty of hooks to programmatically affect the results in the Views API


Also there are plenty of Views Plugins like the Row Plugins