Skip to content

Commit 340ff2c

Browse files
committed
update docs
1 parent 1bf56d2 commit 340ff2c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

docs/source/jdbc.rst

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,8 @@ Type Mapping
213213
------------
214214

215215
The Arrow to JDBC type mapping can be obtained at runtime via
216-
a method on ColumnBinder.
216+
a method on ColumnBinder. The Flight SQL JDBC driver follows the same
217+
mapping, with additional support for the UUID extension type noted below.
217218

218219
+----------------------------+----------------------------+-------+
219220
| Arrow Type | JDBC Type | Notes |
@@ -232,6 +233,8 @@ a method on ColumnBinder.
232233
+----------------------------+----------------------------+-------+
233234
| FixedSizeBinary | BINARY (setBytes) | |
234235
+----------------------------+----------------------------+-------+
236+
| Uuid (extension) | OTHER (setObject) | \(3) |
237+
+----------------------------+----------------------------+-------+
235238
| Float32 | REAL (setFloat) | |
236239
+----------------------------+----------------------------+-------+
237240
| Int8 | TINYINT (setByte) | |
@@ -276,3 +279,6 @@ a method on ColumnBinder.
276279
<https://docs.oracle.com/en/java/javase/11/docs/api/java.sql/java/sql/PreparedStatement.html#setTimestamp(int,java.sql.Timestamp)>`_,
277280
which will lead to the driver using the "default timezone" (that of
278281
the Java VM).
282+
* \(3) For the Flight SQL JDBC driver, the Arrow UUID extension type
283+
(``arrow.uuid``) maps to JDBC ``OTHER`` and is surfaced as
284+
``java.util.UUID`` values.

0 commit comments

Comments
 (0)