Skip to content

Commit 4a383c0

Browse files
authored
[PECOBLR-255] Update version to 1.0.2 (#759)
* Update version to 1.0.2
1 parent 368cc05 commit 4a383c0

File tree

8 files changed

+18
-10
lines changed

8 files changed

+18
-10
lines changed

.github/workflows/loggingTesting.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
mkdir -p target/test-classes
5353
5454
javac \
55-
-cp "target/databricks-jdbc-1.0.1-oss.jar" \
55+
-cp "target/databricks-jdbc-1.0.2-oss.jar" \
5656
-d target/test-classes \
5757
src/test/java/com/databricks/client/jdbc/LoggingTest.java
5858
@@ -66,7 +66,7 @@ jobs:
6666
OS_TYPE=$(uname | tr '[:upper:]' '[:lower:]')
6767
if [[ "$OS_TYPE" == "linux" ]]; then SEP=":"; else SEP=";"; fi
6868
echo "Using classpath separator: '$SEP'"
69-
CP="target/test-classes${SEP}target/databricks-jdbc-1.0.1-oss.jar"
69+
CP="target/test-classes${SEP}target/databricks-jdbc-1.0.2-oss.jar"
7070
7171
java \
7272
--add-opens=java.base/java.nio=ALL-UNNAMED \

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Version Changelog
22

3+
## [v1.0.2-oss] - 2025-03-19
4+
5+
### Fixed
6+
- Fixed columnType conversion for Variant and Timestamp_NTZ types
7+
- Fix minor issue for string dealing with whitespaces
8+
9+
---
10+
311
## [v1.0.1-oss] - 2025-03-11
412

513
### Added

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ You can install Databricks JDBC driver by adding the following to your `pom.xml`
1212
<dependency>
1313
<groupId>com.databricks</groupId>
1414
<artifactId>databricks-jdbc</artifactId>
15-
<version>1.0.1-oss</version>
15+
<version>1.0.2-oss</version>
1616
</dependency>
1717
```
1818
Databricks JDBC is compatible with Java 11 and higher. CI testing runs on Java versions 11, 17, and 21.

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<groupId>com.databricks</groupId>
66
<artifactId>databricks-jdbc</artifactId>
77
<!-- This value may be modified by a release script to reflect the current version of the driver. -->
8-
<version>1.0.1-oss</version>
8+
<version>1.0.2-oss</version>
99
<packaging>jar</packaging>
1010
<name>Databricks JDBC Driver</name>
1111
<description>Databricks JDBC Driver.</description>

src/main/java/com/databricks/jdbc/common/util/DriverUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
public class DriverUtil {
2121

2222
private static final JdbcLogger LOGGER = JdbcLoggerFactory.getLogger(DriverUtil.class);
23-
private static final String DRIVER_VERSION = "1.0.1-oss";
23+
private static final String DRIVER_VERSION = "1.0.2-oss";
2424
private static final String DRIVER_NAME = "oss-jdbc";
2525
private static final String JDBC_VERSION = "4.3";
2626

src/test/java/com/databricks/jdbc/api/impl/DatabricksDatabaseMetaDataTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -801,7 +801,7 @@ public void testGetDriverName() throws SQLException {
801801
@Test
802802
public void testGetDriverVersion() throws SQLException {
803803
String result = metaData.getDriverVersion();
804-
assertEquals("1.0.1-oss", result);
804+
assertEquals("1.0.2-oss", result);
805805
}
806806

807807
@Test

src/test/java/com/databricks/jdbc/common/util/UserAgentManagerTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ void testUserAgentSetsClientCorrectly() throws DatabricksSQLException {
1818
DatabricksConnectionContextFactory.create(CLUSTER_JDBC_URL, new Properties());
1919
UserAgentManager.setUserAgent(connectionContext);
2020
String userAgent = getUserAgentString();
21-
assertTrue(userAgent.contains("DatabricksJDBCDriverOSS/1.0.1-oss"));
21+
assertTrue(userAgent.contains("DatabricksJDBCDriverOSS/1.0.2-oss"));
2222
assertTrue(userAgent.contains(" Java/THttpClient"));
2323
assertTrue(userAgent.contains(" MyApp/version"));
2424
assertTrue(userAgent.contains(" databricks-jdbc-http "));
@@ -29,7 +29,7 @@ void testUserAgentSetsClientCorrectly() throws DatabricksSQLException {
2929
DatabricksConnectionContextFactory.create(WAREHOUSE_JDBC_URL, new Properties());
3030
UserAgentManager.setUserAgent(connectionContext);
3131
userAgent = getUserAgentString();
32-
assertTrue(userAgent.contains("DatabricksJDBCDriverOSS/1.0.1-oss"));
32+
assertTrue(userAgent.contains("DatabricksJDBCDriverOSS/1.0.2-oss"));
3333
assertTrue(userAgent.contains(" Java/THttpClient"));
3434
assertTrue(userAgent.contains(" MyApp/version"));
3535
assertTrue(userAgent.contains(" databricks-jdbc-http "));
@@ -40,7 +40,7 @@ void testUserAgentSetsClientCorrectly() throws DatabricksSQLException {
4040
DatabricksConnectionContextFactory.create(WAREHOUSE_JDBC_URL_WITH_SEA, new Properties());
4141
UserAgentManager.setUserAgent(connectionContext);
4242
userAgent = getUserAgentString();
43-
assertTrue(userAgent.contains("DatabricksJDBCDriverOSS/1.0.1-oss"));
43+
assertTrue(userAgent.contains("DatabricksJDBCDriverOSS/1.0.2-oss"));
4444
assertTrue(userAgent.contains(" Java/SQLExecHttpClient"));
4545
assertTrue(userAgent.contains(" databricks-jdbc-http "));
4646
assertFalse(userAgent.contains("databricks-sdk-java"));

uber-minimal-pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<groupId>com.databricks</groupId>
66
<artifactId>databricks-jdbc</artifactId>
77
<!-- This value may be modified by a release script to reflect the current version of the driver. -->
8-
<version>1.0.1-oss</version>
8+
<version>1.0.2-oss</version>
99
<packaging>jar</packaging>
1010
<name>Databricks JDBC Driver</name>
1111
<description>Databricks JDBC Driver.</description>

0 commit comments

Comments
 (0)