In Spark 1.
In Spark 1.3 - Spark 1.5 extraStrategies can modify a plan before any other strategy (including DataSourceStrategy)
If you want to execute MemSQL queries with a non-MemSQL SQLContext, use this method to enable pushdown on your SQLContext.
Remove MemSQLPushdownStrategy from the specified SQLContext