Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#21: Added options map get method #22

Merged
merged 3 commits into from
Aug 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 9 additions & 7 deletions .github/workflows/ci-build.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dependencies.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions doc/changes/changelog.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions doc/changes/changes_2.0.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Spark Connector Common Java 2.0.1, released 2023-08-04

Code name: Added helper method to get key-value options pairs

## Summary

This release adds a helper method to get key-value options pairs.

## Refactorings

* #21: Added get method for key-value options pairs

## Dependency Updates

### Plugin Dependency Updates

* Updated `com.exasol:project-keeper-maven-plugin:2.9.9` to `2.9.10`
3 changes: 1 addition & 2 deletions pk_generated_parent.pom

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.exasol</groupId>
<artifactId>spark-connector-common-java</artifactId>
<version>2.0.0</version>
<version>2.0.1</version>
<name>spark-connector-common-java</name>
<description>An Exasol common library for Apache Spark connectors</description>
<url>https://github.com/exasol/spark-connector-common-java/</url>
<parent>
<artifactId>spark-connector-common-java-generated-parent</artifactId>
<groupId>com.exasol</groupId>
<version>2.0.0</version>
<version>2.0.1</version>
<relativePath>pk_generated_parent.pom</relativePath>
</parent>
<properties>
Expand Down Expand Up @@ -181,7 +181,7 @@
<plugin>
<groupId>com.exasol</groupId>
<artifactId>project-keeper-maven-plugin</artifactId>
<version>2.9.9</version>
<version>2.9.10</version>
<executions>
<execution>
<goals>
Expand Down
9 changes: 9 additions & 0 deletions src/main/java/com/exasol/spark/common/ExasolOptions.java
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,15 @@ public int getNumberOfPartitions() {
}
}

/**
* Returns key-value pair options map.
*
* @return key-value pair map
*/
public Map<String,String> getOptionsMap() {
return this.optionsMap;
}

/**
* Checks if a parameter key is available.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

public class IntegrationTestSetup {
private static final Logger LOGGER = Logger.getLogger(IntegrationTestSetup.class.getName());
private static final String DEFAULT_DOCKER_IMAGE_VERSION = "7.1.19";
private static final String DEFAULT_DOCKER_IMAGE_VERSION = "7.1.22";

@Container
private static final ExasolContainer<? extends ExasolContainer<?>> EXASOL =
Expand Down