diff --git a/README.md b/README.md index 83189dcb1..f11045516 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ Version compatibility: To use this application, you can run Spark with Flint extension: ``` -spark-sql --conf "spark.sql.extensions=org.opensearch.flint.FlintSparkExtensions" +spark-sql --conf "spark.sql.extensions=org.opensearch.flint.spark.FlintSparkExtensions" ``` ## PPL Extension Usage @@ -34,7 +34,7 @@ spark-sql --conf "spark.sql.extensions=org.opensearch.flint.FlintSparkExtensions To use PPL to Spark translation, you can run Spark with PPL extension: ``` -spark-sql --conf "spark.sql.extensions=org.opensearch.flint.FlintPPLSparkExtensions" +spark-sql --conf "spark.sql.extensions=org.opensearch.flint.spark.FlintPPLSparkExtensions" ``` ### Running With both Extension diff --git a/docs/PPL-on-Spark.md b/docs/PPL-on-Spark.md index a7e539d23..45d3a4f2e 100644 --- a/docs/PPL-on-Spark.md +++ b/docs/PPL-on-Spark.md @@ -42,7 +42,7 @@ bin/spark-shell --packages "org.opensearch:opensearch-spark-ppl_2.12:0.3.0-SNAPS To use PPL to Spark translation, you can run Spark with PPL extension: ``` -spark-sql --conf "spark.sql.extensions=org.opensearch.flint.FlintPPLSparkExtensions" +spark-sql --conf "spark.sql.extensions=org.opensearch.flint.spark.FlintPPLSparkExtensions" ``` ### Running With both Flint & PPL Extensions @@ -51,7 +51,7 @@ classpath. Next need to configure both extensions : ``` -spark-sql --conf "spark.sql.extensions='org.opensearch.flint.FlintPPLSparkExtensions, org.opensearch.flint.FlintSparkExtensions'" +spark-sql --conf "spark.sql.extensions='org.opensearch.flint.spark.FlintPPLSparkExtensions, org.opensearch.flint.spark.FlintSparkExtensions'" ``` Once this is done, spark will allow both extensions to parse the query (SQL / PPL) and allow the correct execution of the query.