[
https://issues.apache.org/jira/browse/ARROW-17431?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Igor Suhorukov updated ARROW-17431:
-----------------------------------
Description:
Typical real life Arrow datasets contain Map type vectors of string key->string
value. Looks logically implement default JDBC parameter binders for such vector
type or implement some kind on binder code extensibility of core framework via
MetaINF/ServiceLocator
Current implementation just [throws
UnsupportedOperationException|https://github.com/apache/arrow/blob/master/java/adapter/jdbc/src/main/java/org/apache/arrow/adapter/jdbc/binder/ColumnBinderArrowTypeVisitor.java#L100]]
{code:java}
@Override
public ColumnBinder visit(ArrowType.Map type) {
throw new UnsupportedOperationException("No column binder
implemented for type " + type);
} {code}
was:
Typical real life Arrow datasets contain List type vectors of primitive type.
Looks logically implement default JDBC parameter binders for such vector type
or implement some kind on binder code extensibility of core framework via
MetaINF/ServiceLocator
Current implementation just [throws
UnsupportedOperationException|[https://github.com/apache/arrow/blob/master/java/adapter/jdbc/src/main/java/org/apache/arrow/adapter/jdbc/binder/ColumnBinderArrowTypeVisitor.java#L80]]
{code:java}
@Override
public ColumnBinder visit(ArrowType.List type) {
throw new UnsupportedOperationException("No column binder
implemented for type " + type);
} {code}
> CLONE - [Java] MapBinder to bind Arrow List type to DB column
> --------------------------------------------------------------
>
> Key: ARROW-17431
> URL: https://issues.apache.org/jira/browse/ARROW-17431
> Project: Apache Arrow
> Issue Type: Improvement
> Components: Java
> Affects Versions: 10.0.0
> Reporter: Igor Suhorukov
> Priority: Major
>
> Typical real life Arrow datasets contain Map type vectors of string
> key->string value. Looks logically implement default JDBC parameter binders
> for such vector type or implement some kind on binder code extensibility of
> core framework via MetaINF/ServiceLocator
> Current implementation just [throws
> UnsupportedOperationException|https://github.com/apache/arrow/blob/master/java/adapter/jdbc/src/main/java/org/apache/arrow/adapter/jdbc/binder/ColumnBinderArrowTypeVisitor.java#L100]]
>
> {code:java}
> @Override
>
>
> public ColumnBinder visit(ArrowType.Map type) {
>
>
> throw new UnsupportedOperationException("No column binder
> implemented for type " + type);
>
>
> } {code}
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)