jbampton commented on code in PR #2190: URL: https://github.com/apache/sedona/pull/2190#discussion_r2239527604
########## docs/setup/glue.md: ########## @@ -50,25 +50,26 @@ package. How you do this varies slightly between the notebook and the script job Add the following cell magics before starting your sparkContext or glueContext. The first points to the jars, and the second installs the Sedona Python package directly from pip. -```python +```text # Sedona Config %extra_jars https://repo1.maven.org/maven2/org/apache/sedona/sedona-spark-shaded-3.3_2.12/{{ sedona.current_version }}/sedona-spark-shaded-3.3_2.12-{{ sedona.current_version }}.jar, https://repo1.maven.org/maven2/org/datasyslab/geotools-wrapper/{{ sedona.current_geotools }}/geotools-wrapper-{{ sedona.current_geotools }}.jar %additional_python_modules apache-sedona=={{ sedona.current_version }} ``` If you are using the example notebook from glue, the first cell should now look like this: -```python -%idle_timeout 2880 -%glue_version 4.0 -%worker_type G.1X -%number_of_workers 5 - -# Sedona Config -%extra_jars https://repo1.maven.org/maven2/org/apache/sedona/sedona-spark-shaded-3.3_2.12/{{ sedona.current_version }}/sedona-spark-shaded-3.3_2.12-{{ sedona.current_version }}.jar, https://repo1.maven.org/maven2/org/datasyslab/geotools-wrapper/{{ sedona.current_geotools }}/geotools-wrapper-{{ sedona.current_geotools }}.jar -%additional_python_modules apache-sedona=={{ sedona.current_version }} +```text + %idle_timeout 2880 + %glue_version 4.0 + %worker_type G.1X + %number_of_workers 5 + # Sedona Config + %extra_jars https://repo1.maven.org/maven2/org/apache/sedona/sedona-spark-shaded-3.3_2.12/{{ sedona.current_version }}/sedona-spark-shaded-3.3_2.12-{{ sedona.current_version }}.jar, https://repo1.maven.org/maven2/org/datasyslab/geotools-wrapper/{{ sedona.current_geotools }}/geotools-wrapper-{{ sedona.current_geotools }}.jar + %additional_python_modules apache-sedona=={{ sedona.current_version }} Review Comment: ```suggestion %idle_timeout 2880 %glue_version 4.0 %worker_type G.1X %number_of_workers 5 # Sedona Config %extra_jars https://repo1.maven.org/maven2/org/apache/sedona/sedona-spark-shaded-3.3_2.12/{{ sedona.current_version }}/sedona-spark-shaded-3.3_2.12-{{ sedona.current_version }}.jar, https://repo1.maven.org/maven2/org/datasyslab/geotools-wrapper/{{ sedona.current_geotools }}/geotools-wrapper-{{ sedona.current_geotools }}.jar %additional_python_modules apache-sedona=={{ sedona.current_version }} ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
