Skip to content

Commit f94d95d

Browse files
committed
[SPARK-47762][PYTHON][CONNECT] Add pyspark.sql.connect.protobuf into setup.py
### What changes were proposed in this pull request? This PR is a followup of #42563 (but using new JIRA as it's already released), which adds `pyspark.sql.connect.protobuf` into `setup.py`. ### Why are the changes needed? So PyPI packaged PySpark can support protobuf function with Spark Connect on. ### Does this PR introduce _any_ user-facing change? Yes. The new feature is now available with Spark Connect on if users install Spark Connect by `pip`. ### How was this patch tested? Being tested in #45870 ### Was this patch authored or co-authored using generative AI tooling? No. Closes #45924 from HyukjinKwon/SPARK-47762. Authored-by: Hyukjin Kwon <[email protected]> Signed-off-by: Hyukjin Kwon <[email protected]>
1 parent 211afd4 commit f94d95d

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

python/packaging/classic/setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,7 @@ def run(self):
275275
"pyspark.sql.connect.client",
276276
"pyspark.sql.connect.functions",
277277
"pyspark.sql.connect.proto",
278+
"pyspark.sql.connect.protobuf",
278279
"pyspark.sql.connect.shell",
279280
"pyspark.sql.connect.streaming",
280281
"pyspark.sql.connect.streaming.worker",

python/packaging/connect/setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@
103103
"pyspark.sql.connect.client",
104104
"pyspark.sql.connect.functions",
105105
"pyspark.sql.connect.proto",
106+
"pyspark.sql.connect.protobuf",
106107
"pyspark.sql.connect.shell",
107108
"pyspark.sql.connect.streaming",
108109
"pyspark.sql.connect.streaming.worker",

0 commit comments

Comments
 (0)