You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Arina Ielchiieva (JIRA)" <ji...@apache.org> on 2017/07/03 14:50:00 UTC
[jira] [Resolved] (DRILL-3434) Applying kvgen on a scalar (field
within a map) results in "Unable to get holder type for minor type [LATE]
and mode [OPTIONAL]"
[ https://issues.apache.org/jira/browse/DRILL-3434?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Arina Ielchiieva resolved DRILL-3434.
-------------------------------------
Resolution: Fixed
Fix Version/s: (was: Future)
> Applying kvgen on a scalar (field within a map) results in "Unable to get holder type for minor type [LATE] and mode [OPTIONAL]"
> --------------------------------------------------------------------------------------------------------------------------------
>
> Key: DRILL-3434
> URL: https://issues.apache.org/jira/browse/DRILL-3434
> Project: Apache Drill
> Issue Type: Bug
> Components: Execution - Flow, Functions - Drill
> Reporter: Rahul Challapalli
> Assignee: Mehant Baid
> Attachments: error.log
>
>
> git.commit.id.abbrev=e3fc7e9
> Data :
> {code}
> {
> "id":1,
> "map": {
> "map1":{"col1":1, "col2":2}
> }
> }
> {code}
> The below query returns an error now
> {code}
> 0: jdbc:drill:schema=dfs_eea> select kvgen(d.map.abcd) from `data.json` d;
> Error: SYSTEM ERROR: UnsupportedOperationException: Unable to get holder type for minor type [LATE] and mode [OPTIONAL]
> Fragment 0:0
> [Error Id: 62d8b3ad-62d1-43e8-a39a-18b19399fca0 on qa-node190.qa.lab:31010] (state=,code=0)
> {code}
> It used to return a proper error message in the past (kvgen function only supports Simple maps as input)
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)