Github user ueshin commented on a diff in the pull request:
https://github.com/apache/spark/pull/13426#discussion_r65290360
--- Diff:
sql/core/src/main/scala/org/apache/spark/sql/execution/SparkStrategies.scala ---
@@ -34,6 +36,27 @@ import org.apache.spark.sql.execution.joins.{BuildLeft,
BuildRight}
import org.apache.spark.sql.execution.streaming.MemoryPlan
import org.apache.spark.sql.internal.SQLConf
+/**
+ * Converts a logical plan into zero or more SparkPlans. This API is
exposed for experimenting
+ * with the query planner and is not designed to be stable across spark
releases. Developers
+ * writing libraries should instead consider using the stable APIs
provided in
+ * [[org.apache.spark.sql.sources]]
+ */
+@DeveloperApi
+abstract class SparkStrategy extends GenericStrategy[SparkPlan] {
+
+ override protected def planLater(plan: LogicalPlan): SparkPlan =
PlanLater(plan)
--- End diff --
Yes, because it's a `protected` method.
I didn't understand your true meaning but do you think it should be more
open like `public` or closer like `private[sql]` ?
---
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]