Skip to content

Commit 8ffb575

Browse files
committed
doc: fix import path
1 parent 8d56659 commit 8ffb575

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

doc/amazon_sagemaker_processing.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ First you need to create a :class:`PySparkProcessor` object
8383

8484
.. code:: python
8585
86-
from sagemaker.processing import PySparkProcessor, ProcessingInput
86+
from sagemaker.spark.processing import PySparkProcessor
8787
8888
spark_processor = PySparkProcessor(
8989
base_job_name="sm-spark",
@@ -158,10 +158,12 @@ SparkJarProcessor
158158
---------------------
159159

160160
Supposed that you have the jar file "preprocessing.jar" stored in the same directory as you are now, and the java package is ``com.path.to.your.class.PreProcessing.java``
161-
Here's an example of using PySparkProcessor.
161+
Here's an example of using SparkJarProcessor.
162162

163163
.. code:: python
164164
165+
from sagemaker.spark.processing import SparkJarProcessor
166+
165167
spark = SparkJarProcessor(
166168
base_job_name="sm-spark-java",
167169
image_uri=beta_image_uri,

0 commit comments

Comments
 (0)