You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[SPARK-56373][PYSPARK] Add docstring annotations to classify PySpark APIs for Spark Connect compatibility
Adds three RST directives to PySpark modules, classes, and methods to indicate
Spark Connect compatibility status:
- `.. classic:: true` -- API is only available in Classic Spark (not Spark Connect)
- `.. connect:: true` -- API is available in Spark Connect
- `.. connect_migration:: <message>` -- migration guidance for users transitioning to Spark Connect
Annotations are resolved by inheriting from the nearest annotated ancestor; a child
annotation overrides the parent's. No functional code changes -- docstrings only.
The annotation spec is documented in `python/pyspark/__init__.py`.
0 commit comments