Skip to content

Commit

Permalink
Release 3.2.1 (#386)
Browse files Browse the repository at this point in the history
* workflow updated

* updated versions in examples and functional tests
  • Loading branch information
Aryex authored May 3, 2022
1 parent ceea234 commit 1c1b400
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
uses: actions/upload-artifact@v1
with:
name: build-jar-file
path: /home/runner/work/spark-connector/spark-connector/connector/target/scala-2.12/spark-vertica-connector_2.12-3.2.0.jar
path: /home/runner/work/spark-connector/spark-connector/connector/target/scala-2.12/spark-vertica-connector_2.12-3.2.1.jar
run-analysis:
runs-on: ubuntu-latest
needs: build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/s3-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
uses: actions/upload-artifact@v1
with:
name: build-jar-file
path: /home/runner/work/spark-connector/spark-connector/connector/target/scala-2.12/spark-vertica-connector_2.12-3.2.0.jar
path: /home/runner/work/spark-connector/spark-connector/connector/target/scala-2.12/spark-vertica-connector_2.12-3.2.1.jar
run-integration-tests_s3:
runs-on: ubuntu-latest
needs: build
Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ cd connector
sbt assembly
```

Running this will run all unit tests and build the jar to target/scala-2.12/spark-vertica-connector-assembly-3.2.0.jar
Running this will run all unit tests and build the jar to target/scala-2.12/spark-vertica-connector-assembly-3.2.1.jar

## Step 4: Set up an environment
The easiest way to set up an environment is to spin up the docker containers for a sandbox client environment and single-node clusters for both Vertica and HDFS following [this guide.](https://github.com/vertica/spark-connector/blob/main/examples/README.md)
Expand All @@ -88,7 +88,7 @@ The next requirement is a spark application that uses the connector jar. Example
```shell
cd examples/basic-read
mkdir lib
cp ../../connector/target/scala-2.12/spark-vertica-connector-assembly-3.2.0.jar lib
cp ../../connector/target/scala-2.12/spark-vertica-connector-assembly-3.2.1.jar lib
sbt run
```

Expand Down
2 changes: 1 addition & 1 deletion examples/kerberos-example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ sbt assembly
Then create a `lib` folder at `/kerberos-example` and put the spark connector that you assembled inside.
```
mkdir /spark-connector/examples/kerberos-example/lib
cp /spark-connector/connector/target/scala-2.12/spark-vertica-connector-assembly-3.2.0.jar /spark-connector/examples/kerberos-example/lib
cp /spark-connector/connector/target/scala-2.12/spark-vertica-connector-assembly-3.2.1.jar /spark-connector/examples/kerberos-example/lib
```
Then in the example's `build.sbt`, comment out the vertica-spark connector dependency.

Expand Down
2 changes: 1 addition & 1 deletion examples/sparklyr/run.r
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ if (file.exists("done")) unlink("done")

# Create the Spark config and give access to our connector jar file
config <- spark_config()
config$sparklyr.jars.default <- "../../connector/target/scala-2.12/spark-vertica-connector-assembly-3.2.0.jar"
config$sparklyr.jars.default <- "../../connector/target/scala-2.12/spark-vertica-connector-assembly-3.2.1.jar"

# Submit a new Spark job that executes sparkapp.r with Spark version 3.1
spark_submit(master = "spark://localhost:7077", version = "3.1", file = "sparkapp.r", config = config)
Expand Down
2 changes: 1 addition & 1 deletion functional-tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Configuration is specified with application.conf (HOCON format)
From the functional-tests directory, run the following commands:
```
mkdir lib
cd ../connector && sbt assembly && cp target/scala-2.12/spark-vertica-connector-assembly-3.2.0.jar ../functional-tests/lib && cd ../functional-tests
cd ../connector && sbt assembly && cp target/scala-2.12/spark-vertica-connector-assembly-3.2.1.jar ../functional-tests/lib && cd ../functional-tests
```
This will create a lib folder and then build and copy the connector JAR file to it.

Expand Down
2 changes: 1 addition & 1 deletion version.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
connector-version=3.2.0
connector-version=3.2.1

0 comments on commit 1c1b400

Please sign in to comment.