FluorineDog commented on issue #23206: [SPARK-26249][SQL] Add ability to inject a rule in order and to add a batch via the Spark Extension Points API URL: https://github.com/apache/spark/pull/23206#issuecomment-576328714 @maropu @skambha Hi, we are ready to inject a `Batch` of `Rule[LogicalPlan]`, which should be executed once, into the optimizer. However, the current public API `injectOptimizerRule` puts all rules into a `fixedPoint` batch, so we believe that we have to use `postHocOptimizationBatches`. Sadly, we fail to find demos/documents to play around with this "advanced" API, and we keep getting stuck at tons of `private` APIs like `internal.SessionState` when implementing our own SparkSession. I believe it may do us some good to expose APIs to play around these optimation batches.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
