GitHub user stephankessler opened a pull request:
https://github.com/apache/spark/pull/10174
[SPARK-7727] [SQL] Avoid inner classes in RuleExecutor
Moved (case) classes Strategy, Once, FixedPoint and Batch to the companion
object. This is necessary if we want to have the Optimizer easily extendable in
the following sense: Usually a user wants to add additional rules, and just
take the ones that are already there. However, inner classes made that
impossible since the code did not compile
This allows easy extension of existing Optimizers see the
DefaultOptimizerExtendableSuite for a corresponding test case.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/stephankessler/spark SPARK-7727
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/10174.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #10174
----
commit c48fd5f9efa970c856caf0fb52062597450965b0
Author: Stephan Kessler <[email protected]>
Date: 2015-12-07T07:38:31Z
* SPARK-7727 Avoid inner classes in RuleExecutor
Moved (case) classes Strategy, Once, FixedPoint and Batch to the companion
object.
This allows easy extension of existing Optimizers see the
DefaultOptimizerExtendableSuite for
a corresponding test case.
commit fb4988ab16b04753c8e8272de7227a325d22fc4c
Author: Stephan Kessler <[email protected]>
Date: 2015-12-07T13:56:25Z
Mod. SQLContext to access changed class locations
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]