[
https://issues.apache.org/jira/browse/ARROW-10762?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17242279#comment-17242279
]
Liya Fan commented on ARROW-10762:
----------------------------------
Yes. An example can be found in {{JdbcToArrowVectorIteratorTest}} of the PR
(https://github.com/apache/arrow/pull/8597/files#diff-7ba75c47a9fad67647ed7ce4ee6da10464ee8d0acc72de3dd2222092a33323d0).
In particular, to support customized mapping, we need to
1. Define the mapping from JDBC types to Arrow types.
2. Create a JdbcToArrowConfig object with the mapping.
3. Create a ArrowVectorIterator object with the config object above.
4. Use the iterator above to consume data.
> Configuration does not provide a mapping for array column
> ---------------------------------------------------------
>
> Key: ARROW-10762
> URL: https://issues.apache.org/jira/browse/ARROW-10762
> Project: Apache Arrow
> Issue Type: Bug
> Reporter: Benjamin Du
> Priority: Major
>
> I tried to leverage `org.apache.arrow.adapter.jdbc.JdbcToArrow.sqlToArrow` to
> query a Hive table but got the following error message on array columns.
> {{Configuration does not provide a mapping for array column 234}}
> The error message makes wondering whether it is possible to provided a
> customized configuration for array columns?
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)