Hive UDF to DB UDF conversion and partition rewrite

Shall we make each rewrite configurable? For example, UDF rewrite may be required for more than one DB like Mysql, postgres also. And other date dimension available in separate tables can be one more configuration, and join  rewritten as sub query can be one more.