apache / apache/arrow-java

[Java] Configuration does not provide a mapping for array column

Open
#392 6 comments 0 reactions 0 assignees View on GitHub
Type: bug
Dominant language
Java
Stars
94
Forks
152
Avg merge
3d 16h
Merged PRs (30d)
11

Description

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?

 

**Reporter**: [Benjamin Du](https://issues.apache.org/jira/browse/ARROW-10762)
#### Related issues:
- [[Java][JDBC] Allow users to config the mapping between SQL types and Arrow types](https://github.com/apache/arrow/issues/26465) (is blocked by)

**Note**: *This issue was originally created as [ARROW-10762](https://issues.apache.org/jira/browse/ARROW-10762). Please see the [migration documentation](https://github.com/apache/arrow/issues/14542) for further details.*

Contributor guide

Open the contributing guide

Research direction

Start at org.apache.arrow.adapter.jdbc.JdbcToArrow.sqlToArrow and inspect how array columns are mapped, then read the related issue about configuring mappings between SQL and Arrow types. Done means users can provide a customized mapping for array columns without the reported configuration error.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, sql
Domain
database
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.