Skip to content

Commit af86cd3

Browse files
MINOR: Bump org.apache.calcite.avatica:avatica from 1.26.0 to 1.27.0 (#986)
Bumps [org.apache.calcite.avatica:avatica](https://github.com/apache/calcite-avatica) from 1.26.0 to 1.27.0. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/apache/calcite-avatica/commit/7754d942f858e5521966c1771cf2e111e8a7ef87"><code>7754d94</code></a> [CALCITE-7200] Release Avatica 1.27.0</li> <li><a href="https://github.com/apache/calcite-avatica/commit/1e05be2bbe3e63eafe7b157beb8cbe00abaa15f2"><code>1e05be2</code></a> [CALCITE-7171] Update Jackson from 2.15.4 to 2.18.4.1 and switch to using jac...</li> <li><a href="https://github.com/apache/calcite-avatica/commit/9698a96a36275736f48afc0a0b0a81dfaadc77a6"><code>9698a96</code></a> [CALCITE-7177] Update Guava from 33.4.0-jre to 33.4.8-jre in Avatica</li> <li><a href="https://github.com/apache/calcite-avatica/commit/0aec6258a2cdae73463c69810dbfce3c26792088"><code>0aec625</code></a> Bump rexml from 3.4.1 to 3.4.2 in /site</li> <li><a href="https://github.com/apache/calcite-avatica/commit/5954d1ae00a4be4947c1040f8e6b0b4372c628c1"><code>5954d1a</code></a> [CALCITE-7165] Update OWASP plugin version to 12.1.3 for JDKs &gt;= 11</li> <li><a href="https://github.com/apache/calcite-avatica/commit/7b6f14c9a79ad18820482f43442e14f72566afb4"><code>7b6f14c</code></a> [CALCITE-7172] Update chekstyle version from 10.19.0 to 10.26.1 in Avatica</li> <li><a href="https://github.com/apache/calcite-avatica/commit/3ee1fd772c91a6eeaf0dbabcb27a6f6240ac7970"><code>3ee1fd7</code></a> [CALCITE-7169] Update protobuf from 3.25.5 to 3.25.8 in Avatica</li> <li><a href="https://github.com/apache/calcite-avatica/commit/927dc10699d257457a234078f75e2fafe671be64"><code>927dc10</code></a> [CALCITE-7168] Update httpcore5 from 5.3.1 to 5.3.5 in Avatica</li> <li><a href="https://github.com/apache/calcite-avatica/commit/458189ff52e2c2624b3d3d1096cfe1fc29f47af8"><code>458189f</code></a> [CALCITE-7167] Upgrade Jetty from 9.4.56.v20240826 to 9.4.58.v20250814 in Ava...</li> <li><a href="https://github.com/apache/calcite-avatica/commit/592a39e43b5dd59b3eaf9f9266cb02a9c4ce4065"><code>592a39e</code></a> [CALCITE-7166] Update Gradle from 8.7 to 8.14.3 in Avatica</li> <li>Additional commits viewable in <a href="https://github.com/apache/calcite-avatica/compare/rel/avatica-1.26.0...rel/avatica-1.27.0">compare view</a></li> </ul> </details> <br /> > **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: JB Onofré <jbonofre@apache.org>
1 parent 3bc34b0 commit af86cd3

4 files changed

Lines changed: 27 additions & 2 deletions

File tree

flight/flight-sql-jdbc-core/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ under the License.
159159
<dependency>
160160
<groupId>org.apache.calcite.avatica</groupId>
161161
<artifactId>avatica</artifactId>
162-
<version>1.26.0</version>
162+
<version>1.27.0</version>
163163
</dependency>
164164

165165
<dependency>

flight/flight-sql-jdbc-core/src/main/java/org/apache/arrow/driver/jdbc/ArrowFlightJdbcVectorSchemaRootResultSet.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ public Object getObject(int columnIndex) throws SQLException {
128128
if (metaData.type.id == Types.TIMESTAMP_WITH_TIMEZONE) {
129129
return accessor.getTimestamp(localCalendar);
130130
} else {
131-
return AvaticaSite.get(accessor, metaData.type.id, localCalendar);
131+
return AvaticaSite.get(accessor, metaData.type.id, true, localCalendar);
132132
}
133133
}
134134

flight/flight-sql-jdbc-core/src/main/java/org/apache/arrow/driver/jdbc/accessor/ArrowFlightJdbcAccessor.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@
3636
import java.util.Calendar;
3737
import java.util.Map;
3838
import java.util.function.IntSupplier;
39+
import org.joou.UByte;
40+
import org.joou.UInteger;
41+
import org.joou.ULong;
42+
import org.joou.UShort;
3943

4044
/** Base Jdbc Accessor. */
4145
public abstract class ArrowFlightJdbcAccessor implements Accessor {
@@ -99,6 +103,26 @@ public long getLong() throws SQLException {
99103
throw getOperationNotSupported(this.getClass());
100104
}
101105

106+
@Override
107+
public UByte getUByte() throws SQLException {
108+
throw getOperationNotSupported(this.getClass());
109+
}
110+
111+
@Override
112+
public UShort getUShort() throws SQLException {
113+
throw getOperationNotSupported(this.getClass());
114+
}
115+
116+
@Override
117+
public UInteger getUInt() throws SQLException {
118+
throw getOperationNotSupported(this.getClass());
119+
}
120+
121+
@Override
122+
public ULong getULong() throws SQLException {
123+
throw getOperationNotSupported(this.getClass());
124+
}
125+
102126
@Override
103127
public float getFloat() throws SQLException {
104128
throw getOperationNotSupported(this.getClass());

flight/flight-sql-jdbc-driver/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ under the License.
159159
<artifact>org.apache.calcite.avatica:*</artifact>
160160
<excludes>
161161
<exclude>META-INF/services/java.sql.Driver</exclude>
162+
<exclude>META-INF/README.txt</exclude>
162163
</excludes>
163164
</filter>
164165
<filter>

0 commit comments

Comments
 (0)