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

fix(deps): update dependency com.google.cloud:google-cloud-spanner-jdbc to v2.24.0 #1377

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
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ public class AbstractSchemaGenerationMockServerTest extends AbstractMockSpannerS
+ " WHEN SPANNER_TYPE LIKE 'BYTES%' THEN -2\n"
+ " WHEN SPANNER_TYPE = 'DATE' THEN 91\n"
+ " WHEN SPANNER_TYPE = 'FLOAT64' THEN 8\n"
+ " WHEN SPANNER_TYPE = 'FLOAT32' THEN 7\n"
+ " WHEN SPANNER_TYPE = 'INT64' THEN -5\n"
+ " WHEN SPANNER_TYPE = 'NUMERIC' THEN 2\n"
+ " WHEN SPANNER_TYPE LIKE 'STRING%' THEN -9\n"
Expand All @@ -137,6 +138,7 @@ public class AbstractSchemaGenerationMockServerTest extends AbstractMockSpannerS
+ " WHEN SPANNER_TYPE = 'INT64' OR SPANNER_TYPE = 'ARRAY<INT64>' THEN 19\n"
+ " WHEN SPANNER_TYPE = 'NUMERIC' OR SPANNER_TYPE = 'ARRAY<NUMERIC>' THEN 15\n"
+ " WHEN SPANNER_TYPE = 'FLOAT64' OR SPANNER_TYPE = 'ARRAY<FLOAT64>' THEN 15\n"
+ " WHEN SPANNER_TYPE = 'FLOAT32' OR SPANNER_TYPE = 'ARRAY<FLOAT32>' THEN 15\n"
+ " WHEN SPANNER_TYPE = 'BOOL' OR SPANNER_TYPE = 'ARRAY<BOOL>' THEN NULL\n"
+ " WHEN SPANNER_TYPE = 'DATE' OR SPANNER_TYPE = 'ARRAY<DATE>' THEN 10\n"
+ " WHEN SPANNER_TYPE = 'TIMESTAMP' OR SPANNER_TYPE = 'ARRAY<TIMESTAMP>' THEN 35\n"
Expand All @@ -148,12 +150,14 @@ public class AbstractSchemaGenerationMockServerTest extends AbstractMockSpannerS
+ " 0 AS BUFFER_LENGTH,\n"
+ " CASE\n"
+ " WHEN SPANNER_TYPE LIKE '%FLOAT64%' THEN 16\n"
+ " WHEN SPANNER_TYPE LIKE '%FLOAT32%' THEN 16\n"
+ " ELSE NULL\n"
+ " END AS DECIMAL_DIGITS,\n"
+ " CASE\n"
+ " WHEN SPANNER_TYPE LIKE '%INT64%' THEN 10\n"
+ " WHEN SPANNER_TYPE LIKE '%NUMERIC%' THEN 10\n"
+ " WHEN SPANNER_TYPE LIKE '%FLOAT64%' THEN 2\n"
+ " WHEN SPANNER_TYPE LIKE '%FLOAT32%' THEN 2\n"
+ " ELSE NULL\n"
+ " END AS NUM_PREC_RADIX,\n"
+ " CASE\n"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ public static void setupQueryResults() {
+ " WHEN SPANNER_TYPE LIKE 'BYTES%' THEN -2\n"
+ " WHEN SPANNER_TYPE = 'DATE' THEN 91\n"
+ " WHEN SPANNER_TYPE = 'FLOAT64' THEN 8\n"
+ " WHEN SPANNER_TYPE = 'FLOAT32' THEN 7\n"
+ " WHEN SPANNER_TYPE = 'INT64' THEN -5\n"
+ " WHEN SPANNER_TYPE = 'NUMERIC' THEN 2\n"
+ " WHEN SPANNER_TYPE LIKE 'STRING%' THEN -9\n"
Expand All @@ -186,6 +187,7 @@ public static void setupQueryResults() {
+ " WHEN SPANNER_TYPE = 'INT64' OR SPANNER_TYPE = 'ARRAY<INT64>' THEN 19\n"
+ " WHEN SPANNER_TYPE = 'NUMERIC' OR SPANNER_TYPE = 'ARRAY<NUMERIC>' THEN 15\n"
+ " WHEN SPANNER_TYPE = 'FLOAT64' OR SPANNER_TYPE = 'ARRAY<FLOAT64>' THEN 15\n"
+ " WHEN SPANNER_TYPE = 'FLOAT32' OR SPANNER_TYPE = 'ARRAY<FLOAT32>' THEN 15\n"
+ " WHEN SPANNER_TYPE = 'BOOL' OR SPANNER_TYPE = 'ARRAY<BOOL>' THEN NULL\n"
+ " WHEN SPANNER_TYPE = 'DATE' OR SPANNER_TYPE = 'ARRAY<DATE>' THEN 10\n"
+ " WHEN SPANNER_TYPE = 'TIMESTAMP' OR SPANNER_TYPE = 'ARRAY<TIMESTAMP>' THEN 35\n"
Expand All @@ -197,12 +199,14 @@ public static void setupQueryResults() {
+ " 0 AS BUFFER_LENGTH,\n"
+ " CASE\n"
+ " WHEN SPANNER_TYPE LIKE '%FLOAT64%' THEN 16\n"
+ " WHEN SPANNER_TYPE LIKE '%FLOAT32%' THEN 16\n"
+ " ELSE NULL\n"
+ " END AS DECIMAL_DIGITS,\n"
+ " CASE\n"
+ " WHEN SPANNER_TYPE LIKE '%INT64%' THEN 10\n"
+ " WHEN SPANNER_TYPE LIKE '%NUMERIC%' THEN 10\n"
+ " WHEN SPANNER_TYPE LIKE '%FLOAT64%' THEN 2\n"
+ " WHEN SPANNER_TYPE LIKE '%FLOAT32%' THEN 2\n"
+ " ELSE NULL\n"
+ " END AS NUM_PREC_RADIX,\n"
+ " CASE\n"
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<maven.compiler.target>11</maven.compiler.target>
<java.version>11</java.version>
<hibernate.version>6.6.1.Final</hibernate.version>
<spanner-jdbc-driver.version>2.23.0</spanner-jdbc-driver.version>
<spanner-jdbc-driver.version>2.24.0</spanner-jdbc-driver.version>
<log4j.version>2.24.1</log4j.version>

<maven-surefire-plugin.version>3.5.1</maven-surefire-plugin.version>
Expand Down