-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-40914][CONNECT] Mark org.apache.spark.sql.connect to be private
#38392
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 3 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -26,11 +26,14 @@ import org.apache.spark.sql.connect.planner.DataTypeProtoConverter | |
|
|
||
| /** | ||
| * A collection of implicit conversions that create a DSL for constructing connect protos. | ||
| * | ||
| * All classes in connect/dsl are considered an internal API to Spark Connect and are subject to | ||
| * change between minor releases. | ||
| */ | ||
|
|
||
| package object dsl { | ||
|
|
||
| object expressions { // scalastyle:ignore | ||
| private[connect] object expressions { // scalastyle:ignore | ||
|
||
| implicit class DslString(val s: String) { | ||
| def protoAttr: proto.Expression = | ||
| proto.Expression | ||
|
|
@@ -133,7 +136,7 @@ package object dsl { | |
| .build() | ||
| } | ||
|
|
||
| object commands { // scalastyle:ignore | ||
| private[connect] object commands { // scalastyle:ignore | ||
| implicit class DslCommands(val logicalPlan: proto.Relation) { | ||
| def write( | ||
| format: Option[String] = None, | ||
|
|
@@ -172,7 +175,7 @@ package object dsl { | |
| } | ||
| } | ||
|
|
||
| object plans { // scalastyle:ignore | ||
| private[connect] object plans { // scalastyle:ignore | ||
| implicit class DslLogicalPlan(val logicalPlan: proto.Relation) { | ||
| def select(exprs: proto.Expression*): proto.Relation = { | ||
| proto.Relation | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I still keep this to match Catalyst's Dsl.