File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
flight/flight-sql-jdbc-core/src/main/java/org/apache/arrow/driver/jdbc Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change 7575import org .apache .arrow .vector .VarBinaryVector ;
7676import org .apache .arrow .vector .VarCharVector ;
7777import org .apache .arrow .vector .VectorSchemaRoot ;
78+ import org .apache .arrow .vector .extension .UuidType ;
7879import org .apache .arrow .vector .ipc .ReadChannel ;
7980import org .apache .arrow .vector .ipc .message .MessageSerializer ;
8081import org .apache .arrow .vector .types .Types ;
8182import org .apache .arrow .vector .types .pojo .ArrowType ;
83+ import org .apache .arrow .vector .types .pojo .ExtensionTypeRegistry ;
8284import org .apache .arrow .vector .types .pojo .Field ;
8385import org .apache .arrow .vector .types .pojo .Schema ;
8486import org .apache .arrow .vector .util .Text ;
@@ -164,6 +166,9 @@ public class ArrowDatabaseMetadata extends AvaticaDatabaseMetaData {
164166 LONGNVARCHAR , SqlSupportsConvert .SQL_CONVERT_LONGVARCHAR_VALUE );
165167 sqlTypesToFlightEnumConvertTypes .put (DATE , SqlSupportsConvert .SQL_CONVERT_DATE_VALUE );
166168 sqlTypesToFlightEnumConvertTypes .put (TIMESTAMP , SqlSupportsConvert .SQL_CONVERT_TIMESTAMP_VALUE );
169+
170+ // Register the UUID extension type so it is always available for the driver
171+ ExtensionTypeRegistry .register (UuidType .INSTANCE );
167172 }
168173
169174 ArrowDatabaseMetadata (final AvaticaConnection connection ) {
You can’t perform that action at this time.
0 commit comments