Description
Currently there's only option to plug into query planning. This provides limited capability for optimizing queries.
Allowing specifying custom optimizers would allow applications that make use of spark sql tune their workflows. One example would be inserting repartitions into query plan which isn't generally applicable but if you know range of possible queries you can do that on the backend.