[
https://issues.apache.org/jira/browse/DRILL-7252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16930264#comment-16930264
]
ASF GitHub Bot commented on DRILL-7252:
---------------------------------------
arina-ielchiieva commented on pull request #1855: DRILL-7252: Read Hive map
using Dict<K,V> vector
URL: https://github.com/apache/drill/pull/1855#discussion_r324529718
##########
File path:
contrib/storage-hive/core/src/main/java/org/apache/drill/exec/store/hive/writers/complex/HiveListWriter.java
##########
@@ -38,8 +40,12 @@ public HiveListWriter(ListObjectInspector listInspector,
BaseWriter.ListWriter l
@Override
public void write(Object value) {
+ List<?> list = listInspector.getList(value);
+ if (list == null) {
+ throw new UnsupportedOperationException("Null array is not supported for
Hive!");
Review comment:
```suggestion
throw new UnsupportedOperationException("Null array is not supported
in Hive.");
```
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
> Read Hive map using Dict<K,V> vector
> ------------------------------------
>
> Key: DRILL-7252
> URL: https://issues.apache.org/jira/browse/DRILL-7252
> Project: Apache Drill
> Issue Type: Sub-task
> Reporter: Igor Guzenko
> Assignee: Igor Guzenko
> Priority: Major
> Labels: doc-impacting
> Fix For: 1.17.0
>
>
> Described in DRILL-3290 design doc.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)