This is an automated email from the ASF dual-hosted git repository.
dongjoon pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push:
new a54e53bc0c3c [SPARK-46812][CONNECT][FOLLOW-UP] Make
`handleCreateResourceProfileCommand` private
a54e53bc0c3c is described below
commit a54e53bc0c3c0f4c593a7ad74c3742ff9d770236
Author: Ruifeng Zheng <[email protected]>
AuthorDate: Wed Apr 10 23:12:12 2024 -0700
[SPARK-46812][CONNECT][FOLLOW-UP] Make `handleCreateResourceProfileCommand`
private
### What changes were proposed in this pull request?
Make `handleCreateResourceProfileCommand` private
### Why are the changes needed?
it should not be exposed to users
### Does this PR introduce _any_ user-facing change?
no
### How was this patch tested?
ci
### Was this patch authored or co-authored using generative AI tooling?
no
Closes #45998 from zhengruifeng/private_handleCreateResourceProfileCommand.
Authored-by: Ruifeng Zheng <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
---
.../org/apache/spark/sql/connect/planner/SparkConnectPlanner.scala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/connector/connect/server/src/main/scala/org/apache/spark/sql/connect/planner/SparkConnectPlanner.scala
b/connector/connect/server/src/main/scala/org/apache/spark/sql/connect/planner/SparkConnectPlanner.scala
index 690f2bfded3b..96db45c5c63e 100644
---
a/connector/connect/server/src/main/scala/org/apache/spark/sql/connect/planner/SparkConnectPlanner.scala
+++
b/connector/connect/server/src/main/scala/org/apache/spark/sql/connect/planner/SparkConnectPlanner.scala
@@ -3421,7 +3421,7 @@ class SparkConnectPlanner(
.build())
}
- def handleCreateResourceProfileCommand(
+ private def handleCreateResourceProfileCommand(
createResourceProfileCommand: CreateResourceProfileCommand,
responseObserver: StreamObserver[proto.ExecutePlanResponse]): Unit = {
val rp = createResourceProfileCommand.getProfile
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]