You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Curricane (via GitHub)" <gi...@apache.org> on 2024/05/20 08:50:38 UTC
[I] Can get tables info with schema contain custom field type [arrow]
Curricane opened a new issue, #41722:
URL: https://github.com/apache/arrow/issues/41722
### Describe the usage question you have. Please include as many useful details as possible.
I use BDeaver and arrow-flight-sql-jdbc-driver to connect my db which implement arrow flight.
In my db,there have a datatype "Geometry" , corresponds to the Binary type in the arrow.
In CommandGetTables,flight will return table's schema,The schema contains the field information for the table.
How do I return a schema that lets the arrow-flight-sql-jdbc-driver know that the field I'm returning is of type Geometry?
### Component(s)
FlightRPC
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Can get tables info with schema contain custom field type [arrow]
Posted by "Curricane (via GitHub)" <gi...@apache.org>.
Curricane commented on issue #41722:
URL: https://github.com/apache/arrow/issues/41722#issuecomment-2126348206
i deal it!
get_tables returned shema, set the metadata for each filed
The key is ARROW:FLIGHT:SQL:TYPE_NAME
value is the name of the type I customized
see
https://github.com/apache/arrow/blob/420c01ab98295c7ee2f3ef640da911e4e8276a1c/java/flight/flight-sql/src/main/java/org/apache/arrow/flight/sql/FlightSqlColumnMetadata.java#L45-L54
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Can get tables info with schema contain custom field type [arrow]
Posted by "Curricane (via GitHub)" <gi...@apache.org>.
Curricane closed issue #41722: Can get tables info with schema contain custom field type
URL: https://github.com/apache/arrow/issues/41722
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org